Re: Need help trying to create a ActiveX registered event
Actually I got the answer from NI. When you wire the activeX control to the reg callback and then select the event, two inputs appear, VI ref and User parameter. You first wire your object to the user parameters, then right click on the VI ref and click create callback vi. The vi is then created with the proper input for the user parameter.
Need help trying to create a ActiveX registered event
I am trying to create a register event for an ActiveX component. The problem I am having is creating the callback vi. When I right click on the VI ref and create the callback vi it is created with the user parameter as a variant. I would like this to be a control refnum. If I open the callback vi and replace the user parameter variant with a control refnum the wire from the callback vi to the VI ref is broken. How do I change the user parameter?
Re: Changing the brightness and contrast of an image displayed in a picture control
The ActiveX component is called ImageX by Fath Software. I am also using their VideoCapX to capture images.
Re: Changing the brightness and contrast of an image displayed in a picture control
Thanks all for you comments and suggestions and as much as I would like to take on the challenge of programming these funtions myself, I am a true believer of not re-inventing the wheel. I have found a very inexpensive ActiveX control that will allow me to load and manipulate the images. Again thank you all for your suggestions.
Need ideas for auto-identifying a device connected to a serial port
We manufacture a product that uses a stepper motor controller. We communicate with the stepper motor controller through a serial port. We have different configurations of this product. We also have several generations of this product that are using different stepper motor controllers. Because of this we also have several different versions of the software available to cover the different unit. I am in the process of re-writing the software with the idea of having one version cover all our different units. What I would like to know is if it is possible to identify which unit is plugged into the serial port so the software will load the appropriate driver and configuration? I was thinking maybe something could be built into the serial cable that would be specific to a unit? Any ideas would be helpful.