Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Sensirion SFM3000 via Sensirion USB Stick

$
0
0

Issue:

I'm trying to connect to a Sensirion SFM3000 Gas Flow Meter using their USB Stick (made by Code Mercenaries?).  The SFM3000 is an I2C device.

 

Progress:

I can read from the device using the Sensirion software.  I've created a NI-VISA driver successfully.  I can even open and close connections to it without getting an error.  However, I'm getting completely lost with trying to set up the Control Pipe command, even after reading the various posts about it (including the USB nugget 2 series).  The simple version is that I need to send a 0x1000 (4096 decimal) command to the device and then continuously read the data from it until I need to close the connection.  I'm just getting bogged down behind items and terminology.

 

 

I can get/confirm the VISA address using the GetVISAAddresses VI.  I'm trying to use it in the SensirionTry01/02 files, but I think (know) I'm using the wrong read/write VIs for Control Pipe.

 

Can anybody walk me through what the core of the VI should look like (assuming I have the edges correct)?


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>