LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TEDS reading and writing without NI Hardware

Dear all,

 

I'm trying to read and write information from a acceleration sensor with TEDS (e.g. sensitivity, calibration date, serial no.) with LabVIEW without using the NI hardware. I'm using a serial interface with an USB to RS232 adapter and a RS232 to BNC adapter.

 

I'm able to read the basic TEDS values (manufacturer, serial no. ASO), but I can't read the further information in the EEPROM.

My problem seems to be, that I need the proper commands for the bus.

 

I hope someone out here can help me with my problem!

 

Regards

Franzi

Download All
0 Kudos
Message 1 of 6
(483 Views)

Thanks for your answer, but that's not what I asked for.

 

I know which template I need and with the right bitstream the values are shown correct. But I don't know the commands to get the right bitstream.

 

I copied the bitstream from a TwinCAT project which can read TEDS and was programmed by a colleague of mine. With this bitstream I get the values displayed correct with the template for my sensor. But I want to get the bitstream directly from the sensor without using the Beckhoff PLC.

0 Kudos
Message 3 of 6
(426 Views)

Hi Franzi,

 


@FranziskaZapf wrote:

I copied the bitstream from a TwinCAT project which can read TEDS and was programmed by a colleague of mine. With this bitstream I get the values displayed correct with the template for my sensor. But I want to get the bitstream directly from the sensor without using the Beckhoff PLC.


Are you sure you can use a plain RS232 port to communicate with a TEDS sensor?

(How did you connect the RS232 to your BNC connector? How to you supply power to your sensor using the BNC connector?)

 

This article suggests something different when using a 1-wire communication bus…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(423 Views)

Hi GerdW,

 

as I'm able to read the basic TEDS values (screenshot is attached to my original post), I think the connection with the RS232 should work properly.

 

Regards

Franzi

0 Kudos
Message 5 of 6
(405 Views)

What vis are you using ?  Just curious

(Seems to bitbang with the rs232 driver and/or additional DLLs) 

 

Seems that you need to read the docs of the vis and the used DLL.

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 6 of 6
(397 Views)