Streaming with UE9 in VB.net
Posted 28 March 2013 - 11:21 AM
Posted 01 April 2013 - 04:31 PM
I am having difficulty getting my stream to display accurately (0 as 0) and (17500psi as 17500psi) on a streaming GDI+ graph in VB.net. The UE9 is functioning properly, ljhandle and whatnot... since I can:
and get the accurate voltage values.
I understand that you guys don't have a VB Guru, but it is somewhat challenging to get GDI+ to do what I want it to, so any assistance is appreciated.
It sounds like the data is coming in correctly. Thus the error is probably caused with how the scaling is being done with GDI+. That isn't something we are too familiar with but it shouldn't be too difficult. There are basically two separate parts to the program. The LabJack part collecting the data, and then the GDI+ part that draws the data.
To simplify the task, i would ignore the LabJack part for now and just try and get the GDI+ part working the way you want it to. There are probably several tutorials online for GDI+ that give easy examples drawing that you can use as a base. A good Google search would probably be a nice place to start. Once you get that, it's just a matter of using real data from the LabJack by adding that code in.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users