02-06-2017 01:58 PM
Yes, I retyped them.
Am I supposed to add in that "TX" that's at the beginning of each example?
Thanks,
SM
02-06-2017 02:16 PM
No. Why do you think that? Page 12 starts talking about the messages. it says it always starts with a 6 byte message header. It never says send a "TX".
02-06-2017 02:20 PM
Well I was just basing it off of the example listed below each command. For instance, on page 21, at the bottom of the example it says"TX 23, 02, 00, 00, 21, 01" . I'm just thinking out loud of why it won't work...
Thanks,
SM
02-06-2017 02:41 PM
I'm interpreting that as just a human readable form telling you what to transmit. That also includes commas, but nothing I've read so far says that you should be transmitting commas.
That might be a legitimate string if it was setup to be sending an ASCII-based string of data. But I don't see that kind of setup described in the manual.
Keep experimenting, you'll get it figured out soon.
02-06-2017 02:44 PM
I've been experimenting for 3 days now lol... That's why I got on here.
If anyone thinks of any other ideas, please let me know...
Thanks,
SM
02-08-2017 05:37 AM - edited 02-08-2017 05:38 AM
Hello SM
May be you should use Byte Array to String function, instead of Type Cast function when sending data on VISA.
could you try with the function as shown in the attached image?
Also, you can wire an indicator at the output of this function to see what exact command you are sending.
02-08-2017 06:04 AM
02-08-2017 10:22 AM - edited 02-08-2017 10:34 AM
Hey guys,
I tried it with both the Type Cast and the ByteArrayToString and neither of them worked still... The program will like sit there "blocking" on the "VISA Write" fucntion, and won't even let me abort the program.
Any other ideas?
Thanks,
SM
02-08-2017 10:45 AM
The program blocking on a VISA Write is a very unusual situation. I've never seen that happen before and would not be related to the actual data you are sending.
02-08-2017 10:49 AM - edited 02-08-2017 11:04 AM
Raven,
Any suggestions as to what that might be? I've never had issues with LV blocking on any function, much less a serial function.
EDIT: I think it's because I have the terminiation stuff in the "Instr." property node. I will try to get rid of that.
Thanks,
SM