How to read a USB-TC01 with VB6?

I inherited a program existing datalogging, written in VB6, I want to extend to read my USB-TC01.  I never did any acquisition of data in VB.  Can you help me?

I searched this forum and Web site of NOR and came up empty.

Jim,

You could do a dll in LabVIEW that reads the tc01, then call that since Visual Basic.  I have created/joint an example of what I mean, you can extend it to add the bells and whistles.  It should be fairly simple.  I hope it helps.

Tags: NI Software

Similar Questions

  • How to use a USB mouse with 8 Thinkpad?

    Hello!

    I would like to know how to use a USB mouse with 8 Thinkpad. Here in the Brazil, Lenovo does not sell any micro USB USB converters. So, I found on the market several options, but mainly focused for Android tablets and smartphones and not Windows 8.1 devices. He will work with a converter OTG? It supports this type of technology?

    Thank you!!

    You can use any cable USB OTG, it's just the cable and two connectors. I use this Setup with USB keyboard. But it is more convenient to use a Bluetooth wireless mouse.

  • How to make a USB-TC01 temperature data a global variable?

    Hi all!  I have a simple question (probably).  I bought the box USB-TC01 and with the software came a VI called LabVIEWTempLogger.  This VI reads a thermocouple voltage and internal conversions using DAQmx and a CYC edge to give a reading of simple temperature.  My problem is that I want to use this temperature in an another VI, then I want to make a global variable of temperature of LabVIEWTempLogger.  How to set a global variable such as temperature of LabVIEWTempLogger?  Thank you!

    You must get out of the recorder temperature VI the DAQ Assistant. Put it in a Subvi if you wish.

    Your main VI has some problems. The first fact a comparison is equal to the current temperature. Never make an equal comparison on a floating point number. Use in the range and force.

    The local 'Set Temp deg C' should be replaced by a wire from the Terminal. All local variables should be replaced by a wire. You can easily have the cable terminals from outside the main loop.

    Can't the difference in code in the States True and False when you read voltage.

    Don't use VISA bytes to the Serial Port. It's just bad style. You programmed it for a terminal character LF to get rid of fixed forward and set the number of bytes to read at a high number. Playback will wait until the stop character is detected and then automatically end.

    Finally, you have already created a world so I do not understand your questions about it.

  • How to use a USB microphone with voice dictation on MacBook Air?  Machine recognizes the USB device, but the microphone does not work.

    How to turn on a microphone USB bluetooth with voice dictation (Dragon for MAC) on the MacBook Air?  Machine recognizes the USB device, but the microphone does not work.   I don't see no response.   I use OS X 10.10.

    Version OS X?

  • How to read and write FileGlobals with TestStand ActiveX control in c#

    Hello everyone,

    I'm trying to read and write FileGlobals with TestStand ActiveX control in c#.

    I tried with:

    SequenceContext contextOfTraceMsg = e.thrd.GetSequenceContext (0, out frameId);

    var filepara = contextOfTraceMsg.FileGlobals.GetSubProperties ("ProjectParameter.NestIsTested", 0). GetValue (1); (NestIsTested is an array of Boolean)

    but without success.

    Can someone tell me how to do it right?

    Thank you in advance!

    Concerning

    0049 wrote:

    Hello Doug,

    Thanks for the reply.

    It works to read a Boolean value. How to read the table of Boolean?

    Kind regards

    For a table you can either do:

    (1) myarray [] bool = contextOfTraceMsg.FileGlobals.GetValVariant ("myarray", 0);

    Or

    (2) using GetNumElements() and GetValBooleanByOffset().

    -Doug

  • How to read several channels simultaneously with a minimum

    Hi all

    Please see the attached file. In fact, this is a simplified example of my real application, I didn't understand the second half to reduce the complexity.

    As demonstrated, I have two entries of analago I need to read (position and acceleration) with a SPECIFIC requirement which is:

    At the same time, I make some decisions based on data more recently acquired in the "timed loop. The decision part is not included in this vi. for simplicity. But the fact is that I just need the most recent data (as well as online) make a kind of decisions.

    Everything seems fine and it seems that I collect data in a way desired interval of 1msec. BUT I just discovered that the data I read (in the timed loop) are the most recent one compare is not to the real sensors. In other words, there is a delay in the acquisition process. The value in the timed loop is like 100 msec delayed the release of real sensor, which is generated by the sensor and acquired by DAQ card.

    This problem makes my decision making part of constantly decide according to the before value of 100 msec. Unfortunately, it's terrible to my request, i.e. it is an intolerable delay to the process.

    Are my settings of data acquisition as samples per channel, the number of samples per channel or right of sampling rate? I appreciate if someone can help me with this application. I just need to collect data at 1 kHz, as close as possible in real-time (online) or with a minimum delay, not 100 msec.

    Thank you.


  • How to read 2 simultaneous channels with Agilent 53230

    Hi, first time done Labview programming so I'm completely new to this. My task is to read the frequency 2 channels (2 sources) at the same time and compare the difference between them (as appropriate).

    So I used the examples and Agilent pilots to get something that gives me the frequency of channel 1 or 2 depending on the choice of the user. But how do readings of both at the same time? Sorry if there is an obvious solution, but I can't seem to get it haha.

    Thanks in advance for any help!

    User manual confirms that you can at the same time, you can make a measurement frequency if it's all good.

    Meter except for the frequency rate and timing channels

    the interim measures are separated and can be configured independently.

    Measures on the channels do not occur at the same time, however. Switching

    between channels keeps the channel configuration, but ends the current

    measure. The newly selected channel is reset and measures

    start when the programmed trigger conditions are met.

  • How to control NI USB-6509 with Micrsoft Excel Macro?

    Hello

    I have recently brought NI USB-6509 (96 digital i/o channels) and tested ok with Labview. But I wanted to detect and control the same device in microsoft excel. Can anyone suggest me some solutions to work on excel with this device?

    Look here and here. For other examples, do a search for "DAQmx VBA".

  • How to create a USB key with HUU for UCS

    Hello

    I have 4 UCS C220M3 requiring updates and I downloaded HUU2.0.3d - 1 for that in the ISO file

    I really want to use a USB key to start the UCS of the box before I shipthem - so there is no network can - just out of the box, boot on USB via F6 and go!

    I am Macedonia this before on code 1.5, but now with 2.0 I had all kinds of funny mistake, and I think its related to the way in which I create the USB

    So what is the best way to create a USB bootable from this Cisco's ISO image?

    I tried 3 kinds of 'decision-makers', but none can boot up and load the HUU.

    Later, I tried going to start and begin to HUU, but then just fails when loading the firmware and tools

    Please notify

    I did some research and found the defect following CSCup62091 who you might be hit.

    2.0(1a) HUU/4.0(1a) UCS USB boot error 906

    https://Tools.Cisco.com/bugsearch/bug/CSCup62091

    Let me know what you think

  • How to read an MP3 file with AudioEffectsManager?

    Hello
    I want to play an MP3 file, which is located in the main folder of the application. I want to use a playFile function, but I have not now, what I like "clazz"?

    I have:
    var test: AudioEffectsManager = new AudioEffectsManager();
    test.playFile ('test.mp3'?),

    I want the test.mp3 will play in the Simulator, because I want to hear it.

    Is the other method, I can hear a MP3 file in the Simulator, located in the main folder of the app with?

    For simple sound, the sound is all you need.

    [Embed(source="assets/sounds/swap.mp3")] private var my_sfx:Class;
    ...
    
    var snd : Sound = new my_sfx() as Sound;
    snd.play();
    
  • How to read a text file with line breaks

    Hello

    I'm reading a text file in a textFrame.  We read in, but does not include line breaks is just a big long line of text.  I use the following code to read the file.  I tried to insert a \n character after each readln() but that has not helped.  I also tried to create a variable that the readln() was crammed in before setting the textFrame.contents variable, but which does not work either. I'm puzzled. Any help would be appreciated, thanks.

    While (! notesDoc.eof) {}

    noteTextRef.contents += notesDoc.readln ();
    }

    Doug

    Just use fileObect.read () instead of fileObect.readln () / / read online also try to use instead of \n \r

  • BlackBerry smartphone how to read QR codes w/9780?

    I am a new user of BB. How to read a QR code with my 9780? Find anything in the manual or online support

    Thank you

    Open your camera and take a picture of the QR code, just focus on the QR code... the camera recognize the code.

  • How to read the data in a device connected to the usb port

    Is there a class or object, or the piece of code in Java that is comparable to the PDQComm32.ocx and the mscomm32.ocx used in VB6? I need to know how to read the data of a device plugged into the usb port of the BBerry. Is it possible to use the BB to read data from a device via a usb cable?

    I'm new in Java and I'm looking for the opportunity to write a project to read the data in a device with this program that can turn on a BB instead of on a pc.

    Thank you

    Did you watch net.rim.device.api.system.USBPort?

    That's what the doc says:

    Provides access to the USB port of the device.

    Avoid using this class in applications, as it is not portable. On the contrary, if you need to access the USB port, use factory CLDC Connector to serve a connection.

    Rab

  • My SD card reader and USB 3.0 Hub have left both answer but see the place in the information system. How can I make them work again?

    On my Macbook Pro 13 inch Core I5 2 .6GHz, I just noticed that my SD card reader and USB ports have stopped working. They hub and drive appear in the information of the reporting system. I tried to reset PRAM and SMC but no luck so far and my Time Machine backup is on a SSD in a USB 3.0 hard drive enclosure. Any ideas how to reset the hub and the reader? I'm including all system information in case it is useful

    System information:

    Model name: MacBook Pro

    Model identifier: MacBookPro11, 1

    Processor name: Intel Core i5

    Processor speed: 2.6 GHz

    Number of processors: 1

    Total number of cores: 2

    (By heart) L2 Cache: 256 KB

    L3 Cache: 3 MB

    Memory: 8 GB

    Boot ROM Version: MBP111.0138.B17

    : 2.16f68 SCM Version (system)

    USB:

    USB 3.0 Bus:

    Host Controller Driver: AppleUSBXHCILPT

    PCI Device ID:0x9c31

    PCI revision ID:0 x 0004

    The seller ID:0 x 8086 PCI

    Mass storage device:

    Product ID:0 x 1000

    Provider ID:0 8564 x

    Version: 11 h 00

    Serial number: 45H3PTDPV3XSLHKB

    Speed: up to 5 GB/s

    Manufacturer: JetFlash

    Location ID:0 x 14500000 / 9

    Available current (mA): 1800

    Current (mA): 76

    Additional operating current (mA): 0

    Apple keyboard / Trackpad:

    Product ID:0 x 0259

    ID:0x05ac of the seller (Apple Inc.)

    Version: 2.24

    Speed: up to 12 Mb/s

    Manufacturer: Apple Inc..

    Location ID:0 x 14400000 / 2

    Available current (mA): 1000

    Current (mA): 40

    Additional operating current (mA): 0

    Built-In: Yes

    BRCM20702 Hub:

    Product ID:0 x 4500

    Name of the vendor ID:0x0a5c (Broadcom Corp.)

    Version: 1.00

    Speed: up to 12 Mb/s

    Manufacturer: Apple Inc..

    Location ID:0 x 14300000 / 3

    Available current (mA): 1000

    Current (mA): 94

    Additional operating current (mA): 0

    Built-In: Yes

    Host controller USB Bluetooth:

    Product ID:0 x 8289

    ID:0x05ac of the seller (Apple Inc.)

    Version: 1.18

    Speed: up to 12 Mb/s

    Manufacturer: Apple Inc..

    Location ID:0 x 14330000 / 6

    Available current (mA): 1000

    Current (mA): 0

    Additional operating current (mA): 0

    Built-In: Yes

    Software:

    Presentation of the system software:

    System Version: OS X 10.11.5 (15F34)

    Kernel version: Darwin 15.5.0

    Volume: Macintosh HD to startup

    Boot Mode: Normal

    MacBook Pro name: Stuart computer

    User name: Stuart Berwick

    Ensure the virtual memory: enabled

    Integrity of system protection: enabled

    Since the starting time: 6 minutes

    USB 3.0 Bus:

    Manufacturer: Apple Inc..

    Location ID: 0 x 14330000 / 6

    Available current (mA): 1000

    Current (mA): 0

    Additional operating current (mA): 0

    Integrated: Yes

    Model name: MacBook P

    A simple restart of the machine is reset.

    On the hub to try another cable and a different port if possible.

    The SD is constructed in the?  It can be a bit fussy, Reseat the card with a purpose, repeatedly if necessary so that it can recognize it.

  • How can I get the USB-Quad08 with Dasylab encoder channel data

    Hello

    I'm reading the pulse signal of USB-Quad08 with Dasylab V10, but every time I got the error message "this Committee has no meter 9513.

    I have configured the jury with Instacal and the test hardware is ok. I used the module 'Entry meter' (Modules--> inputs / outputs--> MCC - DAQ--> Counter Input) to read the signal of the channel meter. "Entry 9513 counter" displayed and I na not change settings. After connecting a graphic recorder module I run the application. The error message appeared.

    I noticed that USB-Quad08 Council has counter 9513. But why the error occurs?  How can I get his channel encoder signal?

    PS. I can get with Dasylab DIO signals, but I can't any signal with TracerDAQ, even I can't find USB-Quad08 in his list of DAQ devices.

    Please contact Measurement Computing.

Maybe you are looking for