Search found 16 matches

by scls19fr
Mon Jun 15, 2015 8:53 am
Forum: General Software Discussions
Topic: USB TC-08 in python
Replies: 27
Views: 57250

Re: USB TC-08 in python

Hello,

Here is some Python code to use Pico TC-08 USB with DLL in Python using usb_tc08_get_single.
tc08usb.py
(3.88 KiB) Downloaded 2282 times
sample_tc08usb.py
(360 Bytes) Downloaded 2021 times
TC08USB class should be improve to support other methods.

Kind regards
by scls19fr
Sun Apr 19, 2009 11:03 am
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Hello, on a previous post you was talking of VISA drivers. On the other side (the hardware) I also wonder if you couldn't plan to have a SCPI parser on your devices. http://www.ivifoundation.org/specifications/default.aspx see SCPI 1999: SCPI-99.pdf http://en.wikipedia.org/wiki/Standard_Commands_for...
by scls19fr
Wed Apr 15, 2009 12:35 pm
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Thanks...
It works...I will have a look at the difference between your VI and mine
by scls19fr
Wed Apr 15, 2009 12:16 pm
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

I'm sorry... I've now the hardware in my hand... but I still get an empty string....
I've change unit_info string size to "string_length" but it still fails !
I also change string_size from 0 to 256... the DLL call fails
If you have an example which is running fine I would be very interessted
by scls19fr
Wed Apr 15, 2009 8:53 am
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Thanks for your reply... About passing struct to DLL in LabVIEW I found this... that could help you http://zone.ni.com/devzone/cda/epd/p/id/4489 http://zone.ni.com/reference/en-XX/help/371361E-01/lvexcodeconcepts/calling_external_apis I don't have enough time to dive into... so usb_get_formatted_inf...
by scls19fr
Tue Apr 14, 2009 3:35 pm
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Sorry I probably made a mistake
by scls19fr
Tue Apr 14, 2009 2:21 pm
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Here is the 8.2 minimal sample for the get_unit_info problem. Kind regards Sebastien PS: if you are looking for nice LabVIEW drivers you should have a look at for example Agilent 34970A... on Devzone IDNET http://www.ni.com/devzone/idnet/f/ http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_...
by scls19fr
Wed Apr 08, 2009 10:35 am
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

I'm sorry but I'm trying to get info using one of the following function - usb_get_unit_info I made a LabVIEW cluster (sort of struct) that could contain a USBTC08_INFO struct. I call the dll but my cluster still have "0" values - usb_get_formatted_info I thought that using this function could easie...
by scls19fr
Sat Apr 04, 2009 9:40 am
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

If you make an other VI sample you should hide the STOP/Abord general LabVIEW button using this http://zone.ni.com/reference/en-XX/help/371361A-01/lvdialog/cust_window_appearance_db/ So user can only use your STOP button that close connection with the hardware. The customer sample you provide me bef...
by scls19fr
Tue Mar 24, 2009 10:25 am
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Thanks a lot... This vi is much cleaner than the other one ;-) But I say again that reusable vi are much better than samples... you say me to use open function twice... but is there a way to identify the unit because I have to measure 10 temperatures The 5 first one are measured using the first unit...
by scls19fr
Tue Mar 24, 2009 8:45 am
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Hello, I'm sorry but you don't reply to one of my questions. How can I do (using only Labview) if a user click on the LabVIEW stop button instead of the main loop stop button ? I also have an other question... How can I do if I have 2 TC-08 ? Can I give USB TC-08 id to the open function ? Kind regards
by scls19fr
Tue Mar 17, 2009 2:47 pm
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

I found some strange informations in your datasheet. tc_type Specifies what type of thermocouple is connected to this channel. Set to one of the following characters: 'B', 'E', 'J', 'K', 'N', 'R', 'S', 'T.' Use a space in quotes to disable the channel. Voltage readings can be obtained by passing 'X'...
by scls19fr
Mon Mar 16, 2009 10:24 am
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

If I stop using the Labview stop button (instead of the front panel stop button) I know that I won't be able to reconnect to TC-08... This is (in my mind) a problem. The only way to solve it is to use Pico software (which is not a good idea in my case... even deconnecting/reconnecting the device doe...
by scls19fr
Fri Mar 13, 2009 4:10 pm
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Sorry I forget to say you something else... on your usbtc08.vi sometimes (several times) I get the following error message "TC-08 Not Opened" Even if I unplug, connect the TC-08 it always fails... The only way to get the labview sample running again is to open PicoLog recorder (which doesn't found t...
by scls19fr
Fri Mar 13, 2009 4:03 pm
Forum: LabVIEW
Topic: Encapsulated VIs for USB TC-08
Replies: 26
Views: 34779

Yes it will be very usefull to have such VIs because my full VI in which I have to insert 10 temperatures acquisitions (so 2 TC-08) is quite big (I can provide you if you are interessted) I also use a Labjack U12 board. They provide such VIs (you can download them to be inspired on their website) I'...