LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication with generator and NI USB 6008

Solved!
Go to solution

Hello,

I would do serial communication between NI USB 6008 and power generator; Its name is EA-PS 3150-04 B. This is my programm. Can you help me please?

0 Kudos
Message 1 of 15
(3,604 Views)

Hi ki4,

 

I would do serial communication between NI USB 6008 and power generator; Its name is EA-PS 3150-04 B.

NI6008 doesn't support any serial communication, it's just a cheap DAQ device.

 

This is my programm. Can you help me please?

What kind of help do you need?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 15
(3,590 Views)

So to give a brief catch up for newcomers, this is a continuation of a thread here: https://forums.ni.com/t5/Multifunction-DAQ/Serial-communication/m-p/3924391

Hopefully we're already agreed that some different hardware (i.e. USB to Serial converter) will be sourced/purchased/found and used.

 

That being said, there's now a part number for a specific device. The previous thread discussed trying to read "the values" of a "generator", so I'm guessing that'd be the voltage or current levels.

 

The datasheet for the mentioned part can be found at https://www.electronicsdatasheets.com/manufacturers/ea-elektroautomatik-gmbh--co-kg/parts/eaps-31500... although briefly scanning that makes it seem like a lot of the previous question might need revisiting.

There isn't a manual listed at https://www.enrgtech.co.uk/buy/product/ET13959870/PS-3150-04B but a similar part (https://www.enrgtech.co.uk/buy/product/ET14014675/PS-3032-10B) contains a multi-lingual manual describing an analog interface.

 

There's no description of a serial interface in any of these documents that I can see.

 

Can you first confirm that's the part you're interested in?

If so, where did you get information leading you to use Serial/VISA code to interact with the device?

What do you want to do with this? What do you want to read/write?

 


GCentral
0 Kudos
Message 3 of 15
(3,587 Views)

Yes, this is the part I'm intersted in. I will check some details and I tell you more informations. Thank you!

0 Kudos
Message 4 of 15
(3,579 Views)

The Elektro-Automatik devices have normally 0-10V programmable analog inputs for current and voltage control. You can either control these with the mentioned USB module or get from Elektro-Automatik a special EA-UTA12 USB interface that allows to do the same. According to the Elektro-Automatik datasheet for this device, they support LabVIEW and Visual Basic access for this interface.

 

 

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Download All
0 Kudos
Message 5 of 15
(3,572 Views)

What I would do exaclty is to send the file where I put the results of counter to an other computer by doing serial communication.

0 Kudos
Message 6 of 15
(3,561 Views)

Hi ki4,

 

send the file where I put the results of counter to an other computer by doing serial communication.

And what is the problem?

(Why do you want to send a "file" instead of the current counter value?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 15
(3,559 Views)

Ya the current value of the counter in an other computer by using the serial communication. NOT FILE SORRY

0 Kudos
Message 8 of 15
(3,557 Views)

So, How to do it. Now, I find the port in Visa port detection. But when I run the programm, nothing happen!

0 Kudos
Message 9 of 15
(3,547 Views)

Hi ki4,

 

Now, I find the port in Visa port detection. But when I run the programm, nothing happen!

What should happen?

Do you get any errors after the VISAWrite function?

Which device is receiving the data you send to that COM port? Which tool is used to receive that data?

Did you check the cable used for the serial communication?

Does the receiver understand the data format you are using for sending?

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 15
(3,542 Views)