06-28-2011 07:59 PM
I am very, very new to LabVIEW and I am trying to program a device using ASCII codes. When using the VI Instrument I/O Assistant only the first command is executed. So I am wondering if there is something obvious I am missing to make all the commands executed or a way to write multiple ASCII codes in one Write command? Any help would be much appreciated. Thanks.
06-28-2011 08:03 PM - edited 06-28-2011 08:05 PM
@Rach_77 wrote:
I am very, very new to LabVIEW and I am trying to program a device using ASCII codes. When using the VI Instrument I/O Assistant only the first command is executed. So I am wondering if there is something obvious I am missing to make all the commands executed or a way to write multiple ASCII codes in one Write command? Any help would be much appreciated. Thanks.
We could help (most likely anyway) and yes, If you are new to LabVIEW it may be obvious to those of us that can look at what you've done so far, (think: attach your code) and know what device you are trying to communicate with. (make and model at least - best Link to the manual as we may need it as a reference
)
06-29-2011 07:58 AM
06-29-2011 09:27 AM
I believe the serial interface only accepts 1 command at a time. Are you sending the CR and reading the response after each command?
06-29-2011 10:04 AM
06-30-2011 02:27 PM
06-30-2011 03:49 PM
Sorry, I was busy today...
Something like this might be a bit more scaleable than a sequence inside a case.