Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

READ Counts/Steps per Revolution value from Max into LV?

Greetings,

 

I'm new to LabVIEW Motion, and was wondering if there is a way to poll the MAX settings for "Stepper Steps per Revolution"  from inside a LabVIEW VI.

 

I believe I have found a function that allows you to programmatically set (or perhaps over-ride) the MAX setting - "Load Counts/Steps per Revolution". However, after traversing the Motion Control function palettes more times than I would prefer to disclose, I can see no equivalent function to READ the current settings. This doesn't seem like it should be an obscure function -- am I missing something obvious?

 

My application will potentially run on several different hardware configurations. The Stepper Steps per Revolution will be set-up in MAX by a technician when each system is installed. I was hoping the "per-axis" settings for this parameter can be retrieved, displayed, and used for scaling calculations in my LabVIEW application. Is there any way to query MAX for this parameter setting?

 

Thanks in advance.  

 

D.

0 Kudos
Message 1 of 2
(3,493 Views)

As described in this article in the NI knowledgebase, it's not possible to read this parameter in LabVIEW. As you have already found out, you can set it but not read it with a vi, so if you need to know this value in your program, you need to set it there (e. g. read it from a custom configuration file).

 

 

Kind regars,

Jochen Klier

National Instruments

Message 2 of 2
(3,485 Views)