02-14-2017 12:21 AM
closing serial port is also done there @Gredw
02-14-2017 12:54 AM
i installed all the visa drivers perfectly and when i open MAX it recognise the serail port as COM port , but when it shows the errors please find the following attachments of images and suggest me what can i do ?? to solve those errors .
Thank you in advance
02-14-2017 01:15 AM - edited 02-14-2017 01:16 AM
1st screenshot: seems, that your VISA resource is occupied by some another process/application. Close all apps, what can use it, and then try again. Also, it's good practice to add to LabVIEW settings, in Options->Environment "Automatically Close VISA Sessions".
2nd screenshot: you didn't select any VISA resource, control VISA Resource Name is empty.
Sincerely,
02-14-2017 01:23 AM - edited 02-14-2017 01:40 AM
Hi arun,
just look at the attachment , you may get what is the exact problem i am facing
- You still have NO error handling at all…
- You still use BytesAtPort immediatly after VISAWrite!
- You still use BytesAtPort despite you configured a TermChar!
Last, but not least:
- You don't provide a VISA resource in your VISA resource name control…
When the errors complains about wrong/missing parameters you really should check all parameters/inputs of that function!
Edit:
PLEASE DON'T CREATE DOUBLE THREADS!
Keep discussion in one place! I merged your second thread on the very same topic!
02-14-2017 03:46 AM
@kosist90 yeah i closed all other applications and i select in environment settings and check mark on automatic visa....
even through it doesnt help us it shows same error , And The same errror occured when we create any VI on serial port
02-14-2017 03:52 AM
02-14-2017 03:53 AM
Your VISA Resource Name is still empty. You have to select which port to use before running your VI.
02-14-2017 03:54 AM
Hi Gredw
I know I am annoying you , But i am aBeginner ... I get same error even i create any VI on serial port please check the following attachment , i find that example in our forum even i execute that example i get the same problem
can you please edit that VI or suggest me any of your example for communicating over serial port
Thank you
02-14-2017 03:58 AM
I think i select visa source name , check the image .. so can you please how to give visa source name , and what type of name we should give .
Thank you
02-14-2017 04:49 AM - edited 02-14-2017 04:52 AM