LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Example code for tescoms er3000

Does anyone have a example code of labview 7.1 communicating with tescoms er3000, I currently have a pci-6229
0 Kudos
Message 1 of 26
(9,587 Views)
I did a google of er3000 and the first link was a product brochure that said Tescom has LabVIEW example code. The brochure also says that the interface is RS-485 so the PCI-6229 would not be used.
Message 2 of 26
(9,572 Views)

Thank's, I also googled er3000 and found same results you did but can,t find the example code regaurdless of me using a pci-6229 or not. If you find a code could you attach a copy

0 Kudos
Message 3 of 26
(9,564 Views)
You should just give Tescom/Emerson a call or email if sample code is not on the CD. They make the whole user CD available for download. Have you looked there?
0 Kudos
Message 4 of 26
(9,559 Views)
I've done quite a bit of work with Tescom ER3000's. So...

I have included the driver that I built here. You will have to open a VISA session to the serial port with the Tescom first and then feed that into this VI.

I hope that this helps. I think that pressure input is actually in decimal and not hex as the control input says (oops). But that should be easy to fix.

     Rob
0 Kudos
Message 5 of 26
(9,549 Views)

Hi Rob,

 

Can you send me an example on how to run your ER3000 driver?  I have an ER3000 with default node=250 and port COM 3.  It runs using CVI but failed to run using your driver.

 

Thanks.

 

Fang

0 Kudos
Message 6 of 26
(9,074 Views)

They always come back to haunt me. I should be more specific when I build some of these.

 

I have included an updated .llb that includes Test Tescom Driver.vi. This feeds all of the data to the Tescom Wrapper VI. 

 

This is a subset of how we use these types of drivers in our own projects. There are some outside VIs missing, but the driver itself is intact. I set the defaults on the test VI to use Com3 and address 250 for a Tescom. The command is to set the pressure output.

 

     Rob

Message 7 of 26
(9,071 Views)

Hi Rob,

 

Thanks for your quick reply.  Unfortunately, I only have Labview 8.2 and can't open your new drivers.

 

Fang

0 Kudos
Message 8 of 26
(9,065 Views)

Sorry about that. I had 8.5.1 open to work on another project.

 

Here is the same file saved in LabVIEW 8.2.1.

 

     Rob

Message 9 of 26
(9,018 Views)

The Tescom driver is unable to set or read the pressure setpoint. Everything else seems OK. I even changed the addresses of the tescoms but when I read/write the pressure setpoint all I get is garbage.

0 Kudos
Message 10 of 26
(8,711 Views)