06-11-2017 02:58 PM - edited 06-11-2017 02:58 PM
Hello! I have one vi that I created and another vi from someone else. I am trying to pull the data (watts and current) from the power analyzer similar to how I have the top half of the state machine.vi in the get measurement state. I have some code for pulling information from xitron but I am a little lost on how to get what I need. Basically I need to just connect the output of watts and current to the "voltage" array and "voltage" graph. Any help would be greatly appreciated.
06-12-2017 09:31 AM
@joesmitty,
I am a bit confused as to what you are asking.
I see the output of watts and current, but do not see what "voltage" array and "voltage" graph you are speaking about after looking through your "Read mea xitron.vi" file.
Could you please clarify?
06-12-2017 09:47 AM
My apologies, the "voltage" graph and array are on the state machine.vi in the get measurement state. Im just trying to pull watts and current from the "read mea xitron.vi" and put what i need inside the state machine.vi. Does that make sense? In the end, when I run the state machine.vi I want it to ouput the pressure graph and array as well as a graph and array for the watts and amps. Let me know if that helps any!
06-13-2017 09:17 AM
Are you saying you want to embed your "read mea xitron.vi" in your state machine?
If so, I would suggest making it a subVI and wiring the connector pane to output watts and amps.
For more information on how to do this, please refer to the following document: http://www.ni.com/white-paper/7593/en/
Let me know what questions you have!