Subscribe: PXI
http://forums.ni.com/rss/board?board.id=270
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
argv  card  chassis  controller  device  include  index int  index  int index  int  max  new  printf  pxi  pxie  task 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: PXI

PXI topics



PXI topics



Published: Fri, 22 Sep 2017 03:01:42 GMT2017-09-22T03:01:42Z

 



Available Controller for NI PXIe 1062Q

Thu, 21 Sep 2017 09:04:23 GMT2017-09-21T09:04:23Z

Hi All,

I want to re-use a PXIe 1062Q chassis with an upgraded controller (Windows, 64b).

As far as I seen in this rack specs, it supports  "Up to 1 GB/s (single direction) per PXI Express slot dedicated bandwidth (x4 PCIe)"

This means the controller itself has to be up to 1 Gb/s?

In this situation I guess I will have no option for further use this rack, since the only controller available up to 1 GB is PXIe-8100, which has the LabWiew Real-time OS?

 

Thank you !

 




16 ch simultaneously sampling with to two pxie 5170r

Wed, 20 Sep 2017 13:27:31 GMT2017-09-20T13:27:31Z

hello
I want 16 ch simultaneously sampling with to two pxie 5170r and timing card PXIe-6674T

i set Data clock rate for both 5170R on external clock which handled by timing card, both of them are connected with DstarA Bus to timing card, timing card generate a 250MHz clock rate and route on DstarA for both of them.
But when i run the program they aren't sync. I saw that for different Run, the phase difference between 2 card changed.

two card are sampling a sinusoid signal
I trig sampling with a pulse that cables have same length
is there any more configuration for synchronization ?




NI PXIe-1085 and PCIe-8361 is not being detected in NI MAX

Tue, 19 Sep 2017 23:09:48 GMT2017-09-19T23:09:48Z

I built 2 sets of PC with PCIe 8361 card work with NI PXIe-ExpressCard8360  and chassis 1085. First set works fine, the second set has problems as listed:

  • PCIe 8361 can’t be found in NI MAX (it shows on the first computer), didn’t see it in Windows Device Manager either.
  • Same NI software and drivers installed on the second computer.
  • I had 3 PCIe 8361 cards, I tried all of them, all behave the same.
  • I plug into x16 slots.
  • PCIe 8361 card two LED lights are ON.
  • MXI cable works fine, I tested with first good set
  • PC is Dell MT 3620 with Windows 7.

Still not able to find PCIe8361 and NI PXIe-1085 in NI MAX. I believe NI PXIe-1085 can't be found in NI MAX is because PCIe 8361 is not communication through MXI cable. I've read this post

https://forums.ni.com/t5/PXI/PCIe-8361-is-not-being-detected-in-new-computer-Gigabyte-GA-Z97/td-p/3094142

Not able to make mine work.

Any suggestions are greatly appreciated, thanks.

 




Multiple NI PXI Sharing same CAN Breakout box

Tue, 19 Sep 2017 20:56:24 GMT2017-09-19T20:56:24Z

Hello,

Quick question: I have 2 PXIe-1078 Chassis with the same exact configuration: NI PXIe-8135 Embedded Controller, 1x NI PXIe-4353, 1x NI PXI-6615, 1x NI PXI 6225, 1x NI PXI 6704, and 1x NI PXI 8352 DeviceNET.

 

Now, both of the PXI 8352 DeviceNet card (from each PXIe Chassis) are connected to one CAN Breakout box. My question is: "Can I run both DeviceNet Cards at the same time on the same breakout box?" I have not been able to use both. If one card is using the breakout box, the other card cannot use it. 




Pxie 1082 power supply failure

Tue, 19 Sep 2017 18:55:18 GMT2017-09-19T18:55:18Z

I have a pxie 1082 chassis that is populated  with a 8133 controller. The system is about 6 years old.

It will turn on ok in the beginning. But after a while the powerOK/fault light will flash red, and the controller will shut off with no response. 

Once this happened I can no longer turn the controller on. There is no response except the red light. If I wait for a day or two it can be turned on again for an hour or so.

I suspect it is a power supply failure.  From the manual of PXIe 1082 it says the power supply shuttle can be replaced. I wonder where can i get one. There is no information on National Instrument website.




NI TB 4330 Terminal block doesn't appear in MAX - Unsupported accessory when using MAX on PXI 1073

Tue, 19 Sep 2017 18:34:29 GMT2017-09-19T18:34:29Z

Dear all, 

 

 

We have just bought a brand new terminal block NI TB 4330 (to replace the damaged one) which is mounted on a NI PXIe 4331 for a PXI 1073.

 

I have run the VI with the brand new terminal this morning to run two load cells. It worked, I stopped the VI, I run it again and it didn't. I have run the VI 20 times and it didnt work. It says 'unsupported device' is presented. I turned the PC off then turned it on again. The TB NI 4330 terminal block was not appeared in MAX. Can someone tell me how the terminal can be viewed in MAX and what is wrong with this issue?

 

P.S. The bridge module NI PXIe 4331 passes the self-test in MAX.

REgards, 

 

(image) (image) (image)




Resolution of PXI-6704 in different output ranges

Tue, 19 Sep 2017 12:32:17 GMT2017-09-19T12:32:17Z

I have a requirement for increasing the voltage resolution of the output from a PXI-6704 card. I don't have direct access to the card at the moment, so can't test this for myself!

 

The last time I tested my LabVIEW code, I had the voltage output range set to +/-10 V. This meant that I had a resolution of 20 V / 2^16 = 0.3 mV (as it's 16 bit).

 

Since all of my voltages are in the range 0.40 to 0.46 V, can I adjust the output range to, e.g., +/-1 V, so that my resolution will be 0.03 mV? Or is the voltage resolution independent of voltage range? 

 

Many thanks




Amplification factor of PXIe-1073

Tue, 19 Sep 2017 07:12:18 GMT2017-09-19T07:12:18Z

I am trying to find the amplification factor of the PXIe-1073 for a signal that goes through it but couldn't manage to find yet. Is it there to find in User's Manual or anyone already with experience? 




Confirmation PXIe-1073 needs host PC?

Fri, 15 Sep 2017 11:31:50 GMT2017-09-15T11:31:50Z

Sorry for the ignorance.  We've gone through the PXIe-1073 User's Guide and are not positive:

 

Does the  PXIe-1073 require a PC/laptop to house an NI card to control the PXIe-1073?  

 

The one other PXI chassis we know about has an embedded PC.  Perhaps PXI(e) devices need either an embedded PC or an external PC host?

 

Thanks

Steve




PXI cooling fan replacement

Thu, 14 Sep 2017 11:50:16 GMT2017-09-14T11:50:16Z

I have a PXI with a failed fan unit. I have replaced the failed fan with a working fan from another PXI. I want to order a fan to replace the failed one, and I want to order a second fan to have as a spare. Anyone know how I can do this? many thanks




PXI 2567 (64 Ch Relay Driver) - Zero Voltage

Wed, 13 Sep 2017 17:24:27 GMT2017-09-13T17:24:27Z

Hi all,

 

I apologize for the cross-post, but I am in need of an answer. 

 

I have a PXI-2567 board I will be using to drive some SP2T switches. I will be using the 12V pin from the card to supply the power to the switches. I tested the 12V pin (pin 19) and ch0 (pin 40) with a multimeter and to my surprise it read approximately 9 V. I then tried closing the channel (ch0->com0) through NI-Switch and when I took another reading it said approximately 12V. How can I set the voltage to 0 V instead of 9V when the ch0 is set to open? If possible I would like to make it a default setting on all the pins. I believe it has something to do with the push-pull circuitry of the channels, but I am unsure what to do with this information.

 

Any help resolving this issue is greatly appreciated. Please let me know if further information is required.




HDD-8263 Install on new PXI Chassis

Mon, 11 Sep 2017 18:32:30 GMT2017-09-11T18:32:30Z

I'm trying to install a HDD-8263 array using a 8262 Card on a new PXIe-1085 24GB/Sec Chassis using an 8880 embedded controller windows 10. The system sees the external enclosure with a valid link between the 8262 card and 8263 chassis via the led lights and it powers on. However in device manager it sees the system as an SCSI controller and asks for a driver not as a RAID system. I tried downloading recommended external driver but doesn't recognize it. I should mention the 8263 array was used on a previous system without issue. It still has data on it but as far as i know this shouldn't be a problem. Can anyone help me understand the issue?




PXIe 4353 TC and CJC calibration

Mon, 11 Sep 2017 18:28:34 GMT2017-09-11T18:28:34Z

I'm calibrating a PXIe 4353 module using the following calibration manual - http://www.ni.com/pdf/manuals/373563a.pdf

The PXIe 4353 module has 32 thermocouple channels and 8 CJC channels but in the manual the calibration part is done for the first TC channel (Dev1/ai0:1) and the first CJC channel (Dev1/_cjtemp0).

Does calibrating only this change the calibration constants for the entire module or should I calibrate the remaining 31 TC channels and 7 CJC channels in order for the PXIe 4353 to be fully calibrated.




Retriggerable Task Support on PXI-5922?

Mon, 11 Sep 2017 15:27:50 GMT2017-09-11T15:27:50Z

Is there a retriggerable Task support on PXI-5922 like for 633xx X Series DAQ boards?




How to route PXIe_CLK100 (used as a reference clk) through ClkOut of NI 6674Timing module using NI_Sync vi

Fri, 08 Sep 2017 20:53:18 GMT2017-09-08T20:53:18Z

Hello everyone,

 

I want to route the PXIe_CLK100 (used as a reference clk) through ClkOut terminal of NI 6674T Timing module using NI_Sync vi,but I am not getting the clock name in the I/O source terminal.I am using the niSync Connect clock terminal vi for the connection and the chassis is NI PXie 1085.

Can anyone please help me out on this?

Any help would greatly be appreciated.

Thanks.




PXIe 1075

Fri, 08 Sep 2017 12:17:58 GMT2017-09-08T12:17:58Z

 
Hello everybody,
Could any of you suggest to  me what it might be the problem. 
We Have Two chassis, one for VSGs (contain the controller) and One for VSAs. 
 
  1. I realized that on the second Chassis (Receivers' chassis) is not read the (speed of the fan, the voltage, the temperature )  correctly , I mean when I increased or decrease it, the speed of the Fan for example , it is not updated on the screen while for the other chassis (Generators' chassis) it works correctly .
  2. The  other one which I got, that the second Chassis (Receivers' chassis) turn off suddenly and the indicator becomes red as shown in the attached picture.    

 

with all the problem above, the NI-MAX configuration is messed up, I attached two pictures to compare between the normal case and when the problem happened.please see the attached pictures.

I need your suggestion about what it could be the problem, Is it the Chassis? Is it the receivers? Is it the MXI ? 

 

Thank you in advance for your attention

best regards




Synchronising continuous generation

Wed, 06 Sep 2017 09:17:42 GMT2017-09-06T09:17:42Z

I have a PXie-1073 chassis which has a PXI-6723 (NI-DAQmx) for analog output generation and a PXI-6541 (NI-HSDIO) for digital generation.

 

The PXI-6541 is configured to run in scripted mode and uses its digital start trigger to start the generation of the samples written to the 6723 card. After each card has finished its generation, the buffer is overwritten with a new one.

 

I would like to configure them such that if I want to repeat the same sequence, each card will regenerate its buffer. To do this, I have set the SampleQuantityMode property to ContinuousSamples and WriteRegenerationMode to AllowRegeneration for the 6723 card and modified the 6541 script to repeat forever

 

script myScript

     repeat forever

     generate data

     end repeat

end myScript

 

The problem I've found is that the two sequences become de-synchronised. The two cards use their own sample clocks - the 6541 uses a 10 MHz clock referenced to the 10 MHz reference on the PXIe chassis, and the 6723 uses a 100 kHz clock which should also be referenced to this.

 

 

Is there a better way to synchronise the output of these cards and ensure that they remain synchronised after each loop?




How to connect DAQ and FPGA through PXI chassis backplane

Thu, 31 Aug 2017 23:06:05 GMT2017-08-31T23:06:05Z

Greetings,

 

I'm trying to use a NI DAQ (PXIe-6356) to control a FlexRIO FPGA (PXIe-7972R), or the other way around, through PXI chassis backplane. To be more specifically, I'd like to generate a digital pulse (for example a line clock) from one device and use it to trigger the other device (to start data acquisition) in the same PXI chassis. 

 

I could do that by connecting the corresponding DIO terminals with an external wire but that would affect the signal integrity and cause timing delay. There are some articles online talking about using PXI_Trig through PXI chassis backplane to sync different PXIe devices, but in DAQmx was not able to expose any PXI_Trig terminals (only port0/1/2 lines are available).

 

Did anyone have any experience with sync'ing DAQ and FGPA with PXI backplane? Any advice would be greatly appreciated.

Thanks very much!

 

-Bing 




How to use TDC IO on PXIe-7972R (FPGA)

Thu, 31 Aug 2017 22:48:53 GMT2017-08-31T22:48:53Z

Hi,

 

I read some literature on using FPGA to implement time-to-digital converter (TDC) for fluorescence lifetime imaging. There are some FPGA example code online but are mostly written in VHDL or Verilog. I noticed that NI PXIe-7972R FPGA has TDC IO available, but couldn't find any documentation about it. Can anyone please share a simple example or some experience on how to use the TDC IO?

 

Thanks,

Bing




Task specified is invalid or does not exist

Tue, 29 Aug 2017 22:26:39 GMT2017-08-29T22:26:39Z

I have a C file with the following contents   #include "stdafx.h" #include #include #include #include #include #include #include #include #include "NIDAQmx.h" #include "nisyscfg.h" #include "nisyscfg_pxi.h" #include "nisyscfg_errors.h" #include "pxi_driver.h" using namespace std; TaskHandle task = 0; char errBuff[2048]={'\0'}; int32 error=0; struct fileData{ int channel1; int channel2; int channel3; int channel4; int channel5; int channel6; int channel7; struct fileData *next; } *data; int *index; int listSize = 0; int tempArray[1]; int *channel1_index; int *channel2_index; int *channel3_index; int *channel4_index; int *channel5_index; int *channel6_index; int *channel7_index; int *channel8_index; int *channel9_index; int *channel10_index; int *channel11_index; int *channel12_index; int *channel13_index; int *channel14_index; int *channel15_index; int *channel16_index; int *channel17_index; int *channel18_index; int *channel19_index; int *channel20_index; int *channel21_index; int *channel22_index; int *channel23_index; int *channel24_index; int *channel25_index; int *channel26_index; int *channel27_index; int *channel28_index; int *channel29_index; int *channel30_index; int *channel31_index; int *channel32_index; #define DAQmxErrChk(functionCall) if( DAQmxFailed(error=(functionCall)) ) errorCheck(); else #define DAQmxErrChk2(functionCall) if( DAQmxFailed(error=(functionCall)) ) goto Error; else int main(int argc, char *argv[]) { int returnCode = 0; if(argc < 7){ printf("%d arguments provided, need 6 arguments",argc); exit(1); } printf("opening file %s to read\n",argv[1]); FILE *replayFile = openFile(argv[1]); if(replayFile != NULL){ printf("finished reading file\n"); } else { printf("error reading file %s...exiting\n",argv[1]); exit(1); } readFile(replayFile); printf("creating task...\n"); printf("Entering debug mode...press enter once connected\n"); getchar(); createTask(); if(returnCode == 0){ printf("task created\n"); } else { printf("unable to create task...exiting\n"); exit(returnCode); } printf("Opening device %s on port %s with lines %s:%s...\n",argv[2],argv[3],argv[4],argv[5]); startTask(); openDevice(argv[2],argv[3],argv[4],argv[5]); if(returnCode == 0){ printf("Device opened\n"); } else { printf("Device opened with warnings\n"); } printf("starting task\n"); startTask(); if(returnCode == 0){ printf("Task started\n"); } else { printf("Task started with warnings\n"); } printf("replaying file\n"); filePlayBack(); printf("End of program, press Enter key to quit\n"); getchar(); return 0; } FILE *openFile(char filePath[]){ int returnCode = -2; FILE *replayFile; if(replayFile = fopen(filePath, "r")){ printf("Reading file %s\n",filePath); } return replayFile; } void openDevice(char device[],char port[],char lineHigh[],char lineLow[]){ printf("value of task before open device is %d\n",&task); //DAQmxErrChk(DAQmxCreateDOChan(task,strcat(device,"/port0"),"",DAQmx_Val_ChanForAllLines)); DAQmxErrChk(DAQmxCreateDOChan(&task,"DEV5/port0","",DAQmx_Val_ChanForAllLines)); printf("value of task after opening device is %d\n",&task); } void readFile(FILE *replayFile){ if(&replayFile != NULL){ char buff[1024]; fileData *new_node, *current = NULL; new_node = (fileData*)malloc(sizeof(fileData)); new_node->next=NULL; data = new_node; current = new_node; while(fgets(buff,[...]