Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

coding error using measurement studio

hello..

can somebody tell me where can i get help on coding the measurement studio using VB.i'm doing an interface programing with a dc servo motor.i'm using a fuzzy logic controller(FLC) to make the output of the servomotor to follow the input, which i'm using a square wave input.i'm having coding problems on linking the FLC with the harware.i'm not quite good in visual basic, so can anybody help me with the coding?i can send the vb coding of the FLC and the hardware interface coding. i've successfully implement PID controller.. but i can't seem to make the FLC work. i think there's something wrong with the coding.

and how can i make the graph go more faster? output from the graph is very slow, compared if i probe the output from the servomotor harware using a digital oscilloscope.
0 Kudos
Message 1 of 2
(5,735 Views)
Hi,

I recommend the Measurement Studio Reference as a resource. This reference is installed with Measurement Studio and can be found on your computer from Start>>Programs>>National Instruments>>Measurement Studio>>Help. The Measurement Studio Reference includes information on the Measurement Studio ActiveX controls and tutorials.

Next, is the FLC you are using part of a Measurement Studio Add On? Are you using the PID Toolset for VB?

Then, if the graph you are using is a CWGraph, you can access the properties of the graph by right-clicking and selecting Properties…. Click on the Graph Tab of the Property Pages window and check that Control Refresh is set to Immediate. This has the graph redrawn as soon as new data is available.

Regards,

Eric M
0 Kudos
Message 2 of 2
(5,720 Views)