Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

On the difference of output voltage of DAQmxWriteBinaryI16() due to card difference

I am making a voltage control program using DAQmxWriteBinaryI16() of NIDAQmx.

On the following AO boards I was expecting output of 0 = 0V, 32767 = 5V.

PCI-6733, PCIe-6353

 

However, only PCIe - 6738 outputs 0 = -10V and 32767 = -5V.

I would like to output 0 = 0V, 32767 = 5V voltage output with PCIe-6738 using DAQmxWriteBinaryI16().

Does such a setting exist?

 

I set the voltage range of the channel with the following method.

DAQmxCreateAOVoltageChan (hTask, szChannel, szChannelName, -10.0, 10.0, DAQmx_Val_Volts, ""));

0 Kudos
Message 1 of 5
(2,078 Views)

Hello Mashi,

 

Have you taken a look at this document?

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019YLoSAM&l=ja-JP

 

Though this article is for LabVIEW, the information applies to DAWmxWriteBinaryI16() function of Measurement Studios as well.

 

Please like at the respective DAQ  manuals for information regarding scaling and resolution.

 

Let me know if you have any questions,

 

Best,

Chisei

0 Kudos
Message 2 of 5
(2,038 Views)

Dear Chisei,

 

Thank you for telling me about scaling and resolution.

 

I have not considered scaling up to now.
However, with the PCI-6733 and PCIe-6353, the voltage I expected was present.

 

I think that 0 = 0V regardless of scaling, is that a mistake?

 

Best regards.

0 Kudos
Message 3 of 5
(2,024 Views)

Hey Mashi,

 

Actually, can I ask you to check the values of PCI-6733, 6353, and 6738 with the value of -32766?  

 

Best,

Chisei

0 Kudos
Message 4 of 5
(2,009 Views)

Hi Chisei,

 

Thanks for your advice.
I can not check it because I do not have these boards right now.
I will check it when these boards are available.

 

Best regards.

Mashi

0 Kudos
Message 5 of 5
(1,983 Views)