LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ task definition in SIT

Hi Jahua;

Thank you very much for the very detailed answer. I really appreciated it. However, currently I ma usit SIT4.0 and I was wondering if you have a similar suggestion for SIT 4.0. Again thank you very much for the answer.

Serdar

0 Kudos
Message 11 of 14
(719 Views)

Soylu,

 

Were you perhaps putting a control on the front panel instead of a constant in the block diagram? If so, you will need to right-click on that control and left click on Data Operations the Make Current  Value Default. If it is a constant in the block diagram, you should have been OK. Also, did you rebuild the VIs after changing the value because the SIT Connection Manager will overwrite any user changes in that VI

Joshua B.
National Instruments
0 Kudos
Message 12 of 14
(679 Views)

Hi Joshua;

Thank you for your reply. I rightclicked on that control in sitdaq Configure Analog In.vi->DAQ and clicked on make current value default under data operations. Now I am able to save the settings (On the vi, I am able to set my voltage range and terminal type 0-5 and RSE respectively.) However, when I read the voltages, they are still based on diffrential terminal type rather than RSE. For instance, when I am reading the voltages using MAX, the voltage value I am reading should be 0.514 and 2.94 volts for differential and RSE type terminal, respectively. However, whem I deploy my application to my PXI machine and read the voltages, I am still getting 0.514 in my real time application instead of 2.94 despite my RSE choice.  I was wondering if you have any idea what the problem could be?

Thank you so much.

Serdar 

0 Kudos
Message 13 of 14
(656 Views)

Hi Soylu,
 
How are you getting the voltage values that you are seeing in your VI? Are you using an indicator or a probe during runtime? Next, can you do a search to ensure that no other portions of the code change the channel settings? Are you getting any errors?

 

What DAQ card are you using? Can you run code some of the DAQmx shipping examples that are found in the LabVIEW Example Finder? I have attached a modified version of one of the shipping examples. Does this VI display the correct voltage for your signal in RSE mode?

Joshua B.
National Instruments
0 Kudos
Message 14 of 14
(636 Views)