Products for USB Sensing and Control
It is currently Tue Jun 18, 2013 1:54 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Jun 24, 2011 3:09 am 
Offline
Fresh meat

Joined: Fri Jun 24, 2011 1:57 am
Posts: 2
Hello guys,


I am new to the forum and hope you can help me. I started to measure pressure with a Micro Load Cell attatched to my PhidgetBridge 4-Input.

It works perfect with the Phidget Manager and i can see al the incoming data on my screen (reading from pressure differences).

My question is: can i save the data directly from the program into a "log file"? Time, date and pressure maybe?


Thank a lot for your help!!


Top
 Profile Send private message  
 
PostPosted: Fri Jun 24, 2011 8:12 am 
Offline
King of the Lab

Joined: Fri Mar 06, 2009 12:42 pm
Posts: 447
Location: Calgary, Canada
The example from the Phidget Control Panel is not able to save data - it is to show the functionality of the device.

Since we have examples in many programming languages, you can simply add your own data logging code to the existing code.


Top
 Profile Send private message  
 
PostPosted: Thu Jun 30, 2011 3:13 am 
Offline
Fresh meat

Joined: Fri Jun 24, 2011 1:57 am
Posts: 2
Hello Erik,

Thanks for your fast answer! I am not actually a hero with programming but i got this code that i have added to the Form1.vb:


Private Sub enableLogging(int level, java.lang.String file) ()
Try

public static final void = CType(enableLogging(int level,
java.lang.String, Test1)) ()

public static final void = CType (log(int 0,1,
java.lang.String Test2,
java.lang.String log))
End Try
End Sub

Don't know if this is the right way?


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group