LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx save scale error

When I try to overwrite an existing scale with the VI "DAQmx save scale.vi" I get an Error -200356. The parameter "Overwrite Existing Scale?" is set to "true".
I've create the scalinig before with the condition "Allow Interactive Deletion?".
0 Kudos
Message 1 of 6
(3,971 Views)
Hi Programmer

What version of DAQmx-driver do you use?

regrads

Manuel Wielander
0 Kudos
Message 2 of 6
(3,952 Views)
Hello Manuel Wielander,

the code I've want to use you can find at:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=F1FCAA5EE87E4A64E0340003BA7CCD71
Download - 7_1_programmatic_saving.llb

Programmatic Saves of NI-DAQmx Tasks, Channels, and Scales Examples

I'm useing DAQmx 7.4 and LV7.1.

Thanks.

T. Nuding
0 Kudos
Message 3 of 6
(3,949 Views)
Hi

I tested it and I have the same error.
I have send this problem to our developer.
If I have more information I will inform you.

regards

Manuel Wielander
0 Kudos
Message 4 of 6
(3,937 Views)
Hello Manuel Wielander,

the Problem is solved:
Are you using the DAQmx Create Scale vi as well? It is actually not possible to create a scale with the same name as an existing scale. However, you can still modify and save an already existing scale. For an example of how to do this, check out the following link: http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=F38DB14830876FE6E0340003BA7CCD71&p_node=201209&p_source=External

Thanks a lot.
Message 5 of 6
(3,933 Views)

That work around works fine.

 

But I also found that you can use the Delete Scale.vi before you cal the DAQmx Create Scale.vi

 

Regards,

Fab

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
0 Kudos
Message 6 of 6
(3,759 Views)