Jump to content

Problem with sending protocol-command via VISA please help!


Recommended Posts

My machine have to send a sequence of 3 bytes per command via serial port.

for example;

|start byte=0xFF| |second byte = 0x00-0xFE| | third byte = 0x00-0xFE |

which I have already done with it, my method is sending one byte per one byte in for-loop via serial port. The problem is if I would like to control more machines my VI will going to be more complicate and that is very bad..

Can LabVIEW able to send my 3 bytes protocol above with just one-time sending?? for example: like in C-language, I'm gonna use printf ("%c %c %c",start,second,third);

I'm new with LabVIEW any idea please help.

sorry for my English, if you don't understand my question please ask me again.

Thank you in advance.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.