01-22-2015 03:12 PM
According to "What Are NI-DAQmx Custom Scales, and How Do I Use Them?" ( http://digital.ni.com/public.nsf/allkb/0464919A11C092E386256D800079C3BB), I can use a custom scale in a write operation. The attached code snippet is from a simple ramp program that worked fine until I tried to add a custom scale so that the user could use scaled units. The custom scale is created in the bottom left. There is no error until the actual write vi. I then get an error message saying the custom scale doesn't exist. Am I missing a step where you have to register the scale or something? Shouldn't the create scale vi have generated an error if it didn't create the custom scale?
01-22-2015 06:56 PM
Can you upload your VI instead of a picture. My first guess is that your error wire is causing the create channel to execute before the create scale but I don't know where your error wire is going.
Also, which version of LabVIEW and DAQmx driver are you using. I just ask because when I tried to re-create what you were doing I recieved an error unless my create channel had an input for Units.
Uploading the VI would also help us understand if anything important is happening in the True Case. Do you even get to the True case?