Example Code

Phidgets Current Sensor with Labview

Code and Documents

Attachment

Developed by Robert Emin

 

Phidgets Inc.  distributes the 3503_0 - i-Snail-VC-100 100Amp Current Sensor which connects to a number of USB data acquisition devices provided by Phidgets Inc.  In this case it is the 1011_0 - PhidgetInterfaceKit 2/2/2 dongle.  Phidgets Inc.  provides the DLL for Labview and over 100 functions and Vi's for Labview.  This makes Phidgets a low cost high result choice for current, power, voltage, distance, range, pressure, force, touch, motion, envioromental with a wide selection of data acquisition devices.  The formula for calculating the current is:  AC Amps (RMS) = SensorValue/10

 

Product Specifications

 

Sensor Properties

Sensor Type Current (AC Through-Hole)

Sensor Output Type Non-Ratiometric

Input Current Min 0 A

Input Current Max 100 A

Current Measurement Resolution 100 mA

Measurement Error Max 0.5 %

 

Electrical Properties

Output Voltage Min 0 V DC

Output Voltage Max 5 V DC

Isolation Voltage (AC) 2.5 kV AC

Physical Properties

Material UL94V-0 ABS Plastic

Wire Window Size 13.7 mm

Operating Temperature Min -40 °C

Operating Temperature Max 50 °C

 

1011_0 - PhidgetInterfaceKit 2/2/2 Dongle Product Specifications

Board

USB Voltage Min          4.6 V DC

USB Voltage Max          5.5 V DC

Current Consumption Min          20 mA

Current Consumption Max          500 mA

Available External Current          480 mA

USB Speed          Full Speed

Operating Temperature Min          0 °C

Operating Temperature Max          70 °C

Analog Inputs

Number of Analog Inputs          2

Analog Input Resolution          10 bit

Input Impedance          900 kΩ

Analog Input Voltage Min          0 V DC

Analog Input Voltage Max          5 V DC

5V Reference Error Max          0.5 %

Analog Input Update Rate Min          1 samples/s

Analog Input Update Rate Max          1000 samples/s

Analog Input Update Rate Max (WebService)          62.5 samples/s

 

Digital Inputs

Number of Digital Inputs          2

Pull-up Resistance          15 kΩ

Low Voltage Max (True)          800 mV DC

High Voltage Min (False)          2.1 V DC

Digital Input Voltage Max          ± 15 V DC

Digital Input Update Rate          125 samples/s

Trigger Length Min          3 ms

 

Digital Outputs

Number of Digital Outputs          2

Series Resistance          300 Ω

Digital Output Current Max          16 mA

Digital Output Voltage Min          0 V DC

Digital Output Voltage Max          5 V DC

phidgetsfrontend.jpg

Front End User Interface

phidgetsbackend.jpg

Block Diagram

functions.jpg

Functions provided by Phidgets Inc.  As can be observed, there is many more and a good variety.

dongle.JPG

This is the dongle hooked up to the front USB of a computer.

currentsensor.JPG

The current sensor.  Very durable and tough.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
mom94
Member
Member
on

can you please send a link from where the phidgets for labview setup

Contributors