01-08-2019 06:36 PM
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, ""));
01-10-2019 08:19 AM
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
01-10-2019 11:29 PM
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.
01-11-2019 02:19 AM
Hey Mashi,
Actually, can I ask you to check the values of PCI-6733, 6353, and 6738 with the value of -32766?
Best,
Chisei
01-16-2019 06:12 PM
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