01-04-2011 02:05 PM
Hi all,
so i've run into a problem where i need to add a carriage return (\r\n) to the end of all my commands in my VI. I've been trying to figure out how to do this. I found this http://digital.ni.com/public.nsf/allkb/862567530005F09C862565BE005AB500 , which gives a general idea of how do such a thing, but that is for serial connections.
I made a property node, with TermChar En set to True, and TermChar set to '5'. what do I hook up 'reference' to, because if I connect it to my resource name in my VI, the property node turns into the device-specific node, with different inputs/outputs.
Any ideas?
01-04-2011 02:13 PM
01-04-2011 02:26 PM
what strings would i concatenate though, since I need to add the return for every command
01-04-2011 03:15 PM
I think a better way to phrase my question is, how do I go about adding that to all the commands? I'm new to labview so it would be great if you had a step-by-step or a screenshot to help
01-04-2011 05:23 PM
01-04-2011 05:46 PM
well what I am doing is running the example VI that came with the drivers. The example VI's just goes down and calls a series of VI that came with the labview drivers, so I'm not sure if i can (or how) get to the part thats writing to the USB.
Is there something I can add to the main VI which would add CRLF to all the write strings?
01-05-2011 02:37 AM
01-05-2011 12:57 PM
I'm using a sorensen xg300 DC power supply. Here is the download link to the drivers for that series of power supply:
http://www.programmablepower.com/products/XG/XG_Downloads.htm
Thanks so much for your help Albert