LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help needed in Custom scale for Daqmx

Solved!
Go to solution

While using custom scale of Table for voltage acquisition and scaling up in NI9220 ,  facing an issue in empty string,  I have attached the log file, while testing using a separate Test VI it causes no error, while implementing the same in main code cause this empty string error, used scale name in constant too, below  screenshot is actual code ,while running it cause error -200212,but made sure there is a string incoming and no duplicate name,  tried to clear this error and  got another error this below

6d8a3e72-6da4-4892-b9a3-31aec07f56e7.jpg

Screenshot (480).png

  

Screenshot (479).png ‏88 KB
(Virus scan in progress.)
Download All
0 Kudos
Message 1 of 3
(101 Views)
Solution
Accepted by topic author KAVIN_GOVINDARAJ

Hi Kavin,

 


@KAVIN_GOVINDARAJ wrote:

While using custom scale of Table for voltage acquisition and scaling up in NI9220 ,  facing an issue in empty string, 


You create a new scale using the CreateScale function, but you never wire this specific scale to the CreateVirtualChannel function!

Instead you set the CreateVirtualChannel to use a custom scale, but you leave the scale input unwired…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(97 Views)

It worked,thank you

 

0 Kudos
Message 3 of 3
(86 Views)