LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with sampling rate 1/4 bridge strain gage in LabVIEW

Hello,

I have a question.  I have SCXI 1001 and am trying to read strain gages and thermocouples.  In the slot 1 I have a 1122/1322 with thermocouples that works great.  In slot 2 I have a 1121/1321 that needs help.  I cannot figure out how to make a LabVIEW program to read the strain gage. 

Is computer hardware a factor?  I have a relatively old Dell, 1.7 ghz, 256 MB RAM, and all of my programs bog my machine down.  My thermocouple program with 1 functioning channel takes almost 2 minutes to load. 

Anyway, I program the DAQ assistant like I think it should be done, but I am having problems with the sampling rate.  Everytime I run the program I get an error message saying that it could not get the recommended samples in time.  I have had my delay time on my While Loop as low as .25 s and as high as 1.5 s.  I have changed my sampling rate from 1 hz to 1000 hz. 

I would really appreciate any and all help on this matter.  I am still very new to LabVIEW. <I could not contain my excitement when my thermocouple program worked>

Thanks,

CDawgttu

0 Kudos
Message 1 of 3
(2,777 Views)
Hello CDawgttu,

I'm assuming that you have configured the SCXI-1121's in multiplexed mode in Measurement and Automation Explorer and that you are using an E or M series card for communication.  When scanning multiple SCXI modules in multiplexed mode, you have to include all of the channels in a single AI task.

Let us know if this is not what is causing the problem and we'll see what else could be causing the problem.

Regards,
Micaela N
National Instruments
0 Kudos
Message 2 of 3
(2,765 Views)
Also, posted here
0 Kudos
Message 3 of 3
(2,759 Views)