06-26-2013 10:59 AM
Hi people, please, I'm using ENET 232/2 device also, I will receive a serial signal, and I have to read it via ethernet in labview
I have to use VISA serial for to do this or is required a different block on labview?
06-27-2013 02:51 PM
Hi Bechard!!
Thank you very much for using NI Discussion Forums!! All you need is NI-VISA driver to communicate with the ENET 232/2 device, which ports will appear as standard PC serial ports. There are numerous examples included in the NI Example Finder for LabVIEW, which can get you up and running with preliminary tests. You can go through the User Manual for more detail on required software under specific Operating Systems.
Hope this helps!!
Regards!
07-01-2013 11:10 AM
Hi, thanks for answering
My computer is a laptop, it has not a serial port, the serial port is connected on my ENET 232 and, after that, I connect an ethernet cable from 232 to my computer, that's equal? I can read with VISA block?
07-02-2013 10:53 AM
Hi Bechard!!
Yes, the NI VISA driver will allow you to communicate with the COM ports available on the ENET 232/2 device, which will appear as standard PC serial ports. The purpose of the ENET device is to have serial interface ports available through an ethernet connection. I strongly
suggest you start by using one of the numerous examples included in the NI Example Finder for LabVIEW. Also, you can take a quick look at the User Manual for more detailed information.
Hope this helps!
Regards!
10-08-2013 11:20 AM
Hi guys, thank you for answering
Now, I have another problem
I'm still using this module, I have a little program, and after a while it's runing, it send me this error, Do you have any idea why it does that?
I attached the program and error.
Thank you
10-09-2013 10:17 AM
Hi Bechard,
I was checking your application and the problem seems to be the Scan from String, this VI gives error 85 whenever it receives data from the Format String input that does not correspond in format to the Input String terminal. My recommendation is to take out both the Simple Error Handler and the VISA Close out of both While Loops and cascade the error terminal through the Scan From String in order to execute or not execute if an error in the VISA Read occurs.
My guess is that sometimes the VISA Read does not output the string in the format you specified.
By taking out the VISA Close out of the loops you will guarantee that you will not close the VISA reference before you finish reading all the string outputs from the port.
Regards!
Luis Castaneda
National Instruments
Ingeniería de Aplicaciones
10-16-2013 09:32 AM
Hi Luis
I can't yet verify your answer, but a friend send another problem with the visa block
We have a device enet 9103 with 9205, and this both errors just appears when I have both devices running together
Can you help me? please
Thank you
10-17-2013 05:03 PM
I attached the another error
10-22-2013 11:25 PM
Hi Beachard!
Thanks for contact National Instruments Technical Support. Error -1073807253 refers to an issue with the VISA driver; it seems that your port has not completely finished its configuration by the time the 1st character is received off that port.
Please check the following link for more information:
http://digital.ni.com/public.nsf/allkb/F3E0621CB71AA16786256F970000FC57
It will also help if you can share your VI or at least show an image with the part of the code in which you are configuring the port and start receiving data.
Regards,
Luis Castaneda
National Instruments
Ingeniería de Aplicaciones
10-22-2013 11:40 PM
Hi Beachard!
Here is an example of what I mean about taking out of the loops the VISA references (Configure serial port and Close), this is a very recommended practice because by this way you ensure that you don’t open and close the references in the same node in which your code resides. Also note the delay before reading the port; you should always give some time to the port before you start reading the 1st byte of data in order to avoid errors like – 1073807253.
Hope this helps!
Regards,
Luis Castaneda
National Instruments
Ingeniería de Aplicaciones