NI Measurement Studio UI components for Visual Basic 6.0 message box
Hey All,
North West Quality Analyst was recently installed on my LabVIEW development machine. Whenever I launch NWQA I get a dialog box to install "NI Measurement Studio UI Components for Visual Basic 6.0" for program called "Program Name."
I cancel out of the install and I can use NWQA just fine. However, I would like to eliminate the install attempt. Any ideas on how to do that?
I've tried to find the installer file on the Distribution discs, but on the two that I thought it would be on, "Measurement Studio Enterprise Support for Visual Studio 6.0" and "Measurement Studio Enterprise Edition" the file named "MStudioUIDemo.msi" was not found.
Thanks,
-Andrew
Below is the text from the event viewer warning...
Detection of product '{7B0F253A-C7A2-4335-B041-99868E9EDEE8}', feature 'UI_Controls', component '{A44FC66B-252B-11D4-A77B-00104B6CE77D}' failed. The resource 'C:\WINNT\system32\CWHlpBtn.ocx' does not exist.
I have lots of stuff installed on the computer... MS Office, Codewarrior, Roxio, IE, MatLAB, etc.
Looking under MAX, I have the following NI software installed.
LabVIEW 6.1 (Advanced Analysis, Application Builder, Database Connectivity Toolset), 7.1 (Advanced Analysis, Application Builder), Runtime 6.0, 6.1, 7.0, 7.1, MAX 3.1.1.3003, NI-488.2 2.20, NI-CAN 2.2f2, NI-DSA, NI-IMAQ, NI-Motion, NI-PAL, NI-Switch, NI-USI, NI-VISA 3.2, Measurement Studio 6.0 (For Visual Basic(ActiveX User Interface, ActiveX 3D Graph, ActiveX DataSocket, ActiveX IMAQ))
The Dell box is running Window's 2000.
I found a listing under "Computer Management" -> System Information -> Software Environment -> Loaded Modules
that seems to have all the installed apps and such. I can send that to you privately if you desire.
Thanks,
-Andrew
Similar Messages
-
Hi, I'm trying to do something that should be simple and appears totally possible but I can't get there.
I'd like to plot some data on the y axis vs. the date/time on the x-axis. I've looked at the samples, and tried modifying the chart properties but I'm doing something wrong and can't get it properly.
Any chance someone has a very simple example of plotting a few points vs. date/time that they can share?
Thanks for any feedback!!Hey Larrymcd,
What format is your date/time currently in? That might help us find the best way to do this. I was able to find a few examples of plotting a graph with time on the X-axis:
http://forums.ni.com/t5/Measurement-Studio-for-NET/Measurement-Studio-Graph-to-plot-with-time-scale/...
http://digital.ni.com/public.nsf/allkb/FFC867DDE42029BA8625760300477BEB
http://zone.ni.com/devzone/cda/epd/p/id/3334
Hopefully some of these can point you in the right direction. If you have any more questions after checking those examples out, please let us know!
Daniel E.
TestStand Product Support Engineer
National Instruments -
How do I print the displayed graph? I am using Measurement Studio for Visual Basic.
a
It is true that calling the PrintForm method is the easiest way to print your graph. However, if you wish to print only the graph, and not the rest of your form, there is a way to do this also.
The CWGraph control, and some other CW controls, supports the ControlImage method which returns a Windows metafile containing an image of the graph. You can then send this image to your printer using environment-specific printer commands.
In Visual Basic, use the Printer.PaintPicture command to send the metafile, and top and left coordinates to the printer. Then call Printer.EndDoc to flush the job to the printer:
Printer.PaintPicture CWGraph1.ControlImage, 0, 0
Printer.EndDoc
In the above code, the second and third parameters specify the position of the image o
n the page; you can also enlarge or shrink the image by specifying width and height. You may want to take a look at the Visual Basic PaintPicture function help for more details on this function.
J.R. Allen -
Hope receive NI measurement studio with visual basic engineer's favor in a early date!
This is just the nature of the while loop in the VB code. The processor is going to execute this loop as fast as possible. The DoEvents in the loop allows the processor to perform other operations if needed. Try opening MAX or some other program and drag windows around at the same time the code is executing. You will notice that the processor load will shift away from the VB6 program to other processes.
If you want to avoid this try adding a function similar to sleep in the while loop. However, this will slow the speed of your program and I would not recommend it, because the program is designed to run as fast as possible, but still allow other programs to execute.
I hope this helps.
Joshua -
Does Measurement Studio offer much for someone writing a basic control system?
I'm trying to weigh whether the added cost (and bulk) of Measurement Studio would be worth it for me vs simply using the free DAQmx libraries.
My application wouldn't have any need for the custom controls offered by MS nor the advanced libraries. All the application is doing is monitoring a handful of digital and analog inputs, reacting to them, and setting a handful of digital inputs. No high speed measurements, waveforms, etc. Probably the highest priority I/O may get updated every 50-100 ms.
I'm mainly wondering if MS offers anything over the DAQmx libraries when it comes to working with I/O asynchronously (which seems like the proper way to approach a responsive machine control application).This an interesting question and I don't have a great answer. I hope someone comes along and explains the issue clearly.
I like having all of Measurement Studio because I depend on Visa for the instrument libraries (scopes, meters, power supplies etc.). I don't want to write an entire communication library from scratch.
For just basic IO though I'm not sure what Measurement Studio actually brings to the table. Since I've always had the entire package (Measurement Studio Enterprise Edition I believe) I don't know which features are available outside of Measurement Studio.
Did you mention that you are working with NI hardware? If not, then maybe Measurement Studio buys you even less. When working with NI hardware NI MAX (Measurement and Automation eXplorer) makes it so simple. Just plug in a USB device and give it an alias in MAX like TS_Light and you can talk to it with :
using (var t = new Task())
Thread.Sleep(10);
// Create full device name based on fixture platform passed into constructor
const string strDevice = "TS_Light/port0";
// Setup Task
t.DOChannels.CreateChannel(
strDevice,
ChannelLineGrouping.OneChannelForAllLines);
// Create a write stream and send out the desired Value
var writer = new DigitalSingleChannelWriter(t.Stream);
// Convert port value to bool array
var boolArray = new bool[8];
for (int i = 0; i < 8; i++)
boolArray[i] = Convert.ToBoolean((portValue >> i) & 0x01);
t.Start();
writer.WriteSingleSampleMultiLine(false, boolArray);
It looks a little complicated but it is the same flow for all NiDaqMx Tasks.
Again, I realize that I'm not answering your direct question of what does MS really bring to you when you are doing such a simple IO project. I wonder however if you will ever be doing a similar project again soon? And then maybe you will want to add some support for instrument automation and data collection? When you look at doing multiple projects, even simple ones, the cost of Measurement Studio starts to look like a better investment in my opinion.
Good luck with your project!
Grant M. Johnson
Project Engineer
LECO Corporation -
Can a CIN be written for Visual Basic code
I've read about C code and CIN usage and seen references to other
languages such as Visual Basic (Visual Studio- don't have NET yet).
Is the only way to create a dll?Don't confuse a CIN (Code Interface Node) with the Call Library Function Node in which you interface to a dll. A CIN is a c language function only. The Call Library Function Node can be used for any dll in which the parameters and calling conventions are something LabVIEW can handle. You can create these dll's which c, C++, VB, Delphi, etc. The pdf document "Using External Code in LabVIEW" that is part of the shipping documentation explains the differences between the two. You can also find app notes and example code here that might help.
-
Using the General DAQ Event control for Visual Basic
HardwareCI_6711
Software:Visual Basic
running Windows 2000
I'm trying to add the dacevent.ocx to my project and it won't install. I read off of http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/4dc40c5d3ff5e7cc862564a6007cf5c1?OpenDocument that the OC30.dll is required to do this. I can't find it on my system and I'm thinking that is why the ocx file won't load. Where can I find this dll? Are there any other requirements for adding the control? I may also be trying to install it the wrong way: I am just using the open file command in my project and selecting daqevent.ocx from the nidaq folder in WINNT. Any help would be much appreciated, thanks.Nevermind, I found it. And I was opening it wrong. I think I had actually already installed it as a reference and just forgot to add it to the components toolbar.
... wow, some days... -
Environment Variables for Visual Basic Clients
How does one set the environment variables when writing clients in Visual Basic.
I would like the set the variables TUXDIR, WSNADDR etc at runtime, instead of
setting them in the Control Panel
ThanksHello,
I don't know too much about Visual Basic, but if you can bind to the Tuxedo C
functions from VB I'd suggest you simply call the tuxputenv() function a couple
of times to setup the environment for your process.
Hope this helps,
/Per
"Gaurang" <[email protected]> wrote:
>
How does one set the environment variables when writing clients in Visual
Basic.
I would like the set the variables TUXDIR, WSNADDR etc at runtime, instead
of
setting them in the Control Panel
Thanks -
Microsoft Word hung on No Visual Basic in application message
Hi All
I'm desperately trying to writ ean assignment due in a week but Microsoft Word has frozen on an academic journal which I downloaded from an academic database. A message box appears telling me that there is no Visual Basics in Application. I can't open any .doc because this message box won't go away. I;ve tried Force Quit but when I open up Word again, the same journal appears followed by this warning message. Please help!Thank you for the advice. The site did not entirely provide clear solution but I got the gist. I had installed EndNote through the university and somehow, there was something there called EndNote CWYW bundle sitting in the Word Folder that resided in the Start Up folder of Microsoft Office. I pulled the EndNote folder out onto the desktop and now Word is functioning normally.
Thanks very much for directing me to a place where I could begin to work out a solution. Cheers. You're a real gem. -
API Files for Visual Basic Program?
is there any software I need to install to get the EB32.BAS file?I am able to see API under server information.thanks ALL
-
Error when trying to Install Measurement Studio 7.0
I did not mention this before, but the disks, Measurement Studio Professional Edition for Windows XP, Visual Studio.net and the Device Driver Reference CD installed fine. The Measurement Studio Professional Support for VIsual Studio 6.0 did not install properly. Do I even need to install this disk if I am running Visual Studio.net?
Hello EE
If you are using Visual Studio .NET 2003 with Measurement Studio, you do not need to install the support for Visual Studio 6 CD. You would only need to install this CD if you are planning to use VB 6.0 and VC++ 6.0
Hope this helps
Bilal Durrani
NI
Bilal Durrani
NI -
Can someone help me with getting controls to work with Visual basic 6 in an Vista environment? I cannot get the examples to work that use the CWDAQ.OCX control. I did a search on my computer and the file is not even there. What functions are in CWDAQ.OCX? Is there a descriptions of what functions are included in this control and other controls? It is not obvious where to find these descriptions.
I did install Measurement Studio 6 with all the options for Visual basic 6.
I am new to programming NI cards with visual basic so any help in getting me started will be greatly appreciated.
I need to talk to a PCI-6110 card in visual basic 6. I would like to preprogrammed the D/A fifos, store to two analog inputs simutaneously, and use some of the digital I/O. Can someone direct me the direction as to what controls I need to use?
Thanks in advance for any help or guidance.
TonyHi Tony,
So the reason you can't find the CWDAQ.OCX ActiveX controls in VB 6.0 in Vista is because that is a Tradtional DAQ (legacy) control meant to work with the Traditional DAQ Driver.
The Tradtional DAQ drivers aren't officially supported in Windows Vista (KnowledgeBase 4FDH4MZN: Traditional NI-DAQ (Legacy) for Windows Vista OS) and so the CWDAQ.OCX controls don't get installed.
However, the good news is that the PCI 6110 is a newer card that uses our newer driver, NI-DAQmx. DAQmx is supported in Vista and you can communicate to your card from VB 6.0 using DAQmx in Vista.
There are several examples that show you how to communicate using DAQmx in VB 6.0.
These can be found in:
<Users>\Public\Documents\National Instruments\NI-DAQ\Examples
This is also mentioned in the following Knowledgebase article:
KnowledgeBase 47CCSQ5B: NI-DAQmx, NI-VISA and NI-488.2 .NET Example Locations
Also, the DAQmx functions are documented in the following locations:
Start»Programs»National Instruments»NI-DAQ»NI-DAQmx C API Visual Basic 6.0 Help
Start»Programs»National Instruments»NI-DAQ»NI-DAQmx C Reference Help
Hope this helps!!
Message Edited by Jervin_J on 06-05-2008 02:58 PM
Jervin Justin
NI TestStand Product Manager -
Windows Azure Tools for Visual Studio 2013 - v2.2 install fails on Windows Server 2012 R2
Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.51641
The installation completes without any errors on my VM running Windows Server 2012 R2, however its not recognized in VS2013 ? It also breaks the Publish functionality when I try and publish a web site to my hosting provider.I tried install, uninstall, reinstall cycle several times without success. Any help would be greatly appreciated.
here is my About info:
Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.51641
Installed Version: Professional
LightSwitch for Visual Studio 2013 06177-004-0444002-02824
Microsoft LightSwitch for Visual Studio 2013
Microsoft Office Developer Tools for Visual Studio 2013 ENU 06177-004-0444002-02824
Microsoft Office Developer Tools for Visual Studio 2013 ENU
Team Explorer for Visual Studio 2013 06177-004-0444002-02824
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06177-004-0444002-02824
Microsoft Visual Basic 2013
Visual C# 2013 06177-004-0444002-02824
Microsoft Visual C# 2013
Visual C++ 2013 06177-004-0444002-02824
Microsoft Visual C++ 2013
Visual F# 2013 06177-004-0444002-02824
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06177-004-0444002-02824
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.0.11001.0
For additional information, visit http://www.asp.net/
BusinessObjectEditor 1.0
Information about my package
CodeRush for Visual Studio 13.2
Common Azure Tools 1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.
CreateLayoutWizardPkg 1.0
Create layout wizard.
DevExpress.ExpressApp.Design.DesignDynamicPackage 1.0
DevExpress VSIX Package
DevExpress.ExpressApp.DesignPackage 1.0
DevExpress VSIX Package
DevExtreme.Design 13.2.6
DevExtreme Visual Studio integration package
DXCore for Visual Studio 13.2
DXCore for Visual Studio
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools
Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services Tools
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
XtraReports package 1.0
XtraReports package -
New Product Announcement: Measurement Studio 2013 is available for download
Measurement Studio 2013 continues to offer programmers the latest tools for development and visualization with new support for .NET Framework 4.5, Windows Presentation Foundation (WPF), and Visual Studio 2012. Measurement Studio 2013 integrates into Visual Studio 2012, 2010, and 2008 to provide engineers with a complete suite of tools for building professional engineering applications to acquire, analyze, and display measurement data.
>> Upgrade to the new version
>> Read about WPF Technology
>> See Release Info and Bug Fixes
>> Download here
National InstrumentsHi StenAndersen,
This KB might be a helpful reference in this regard: http://digital.ni.com/public.nsf/allkb/C51E3B38578FAD2786257C070069F386. I apologize for any inconvenience this is causing in your projects.
Rahul B.
Applications Engineer
National Instruments -
How to set transceiver mode to 2-wire TXRDY Auto from Visual Basic
I am using a PCMCIA-485 adapter to interface to some RS-485 sensors. The sensors are connected using a 2-wire interface. I have developed an application in Visual Basic to control the various sensors. However, the application is dependent on the PCMCIA-485 adapter's transceiver mode being configured into the "2-Wire TXRDY Auto" mode. Presently I require the user to configure the transceiver mode by opening up the advanced setting dialog within the device driver for the adapter and manually setting the transceiver mode. I would prefer to have my application take care of this directly. Unfortunately, I cannot find any references that document how to do this.
Can I use Measurement Studio Tools for
Visual Basic to control the transceiver mode of the PCMCIA-485 adapter?Hello-
There is a registry key in Windows that can change this mode:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\Parameters\Serial1000X\TransceiverMode
Try experimenting with it by hand first. It may also be necessary to reboot after changing this value.
Randy Solomonson
Application Engineer
National Instruments
Maybe you are looking for
-
Page does not view in IE does when I test in firefox but didn't when I loaded the page.
Hi, I have apge that views fine in Firefox (no surprise there) but in IE the page is basically blank. Anyone got an idea why? Here is my code, I suspect it has something to do with the java but not sure, can anyone help please? Thanks in advance! Her
-
I've tried everything I can think of to get this to work. It was working. I've tried every solution I could find on other boards.
-
Gnome-network-manager problems
Hello all, I'm trying to use gnome-network-manager to connect to my wifi as it is WEP enabled and I don't know how to get it working in 'network'. I followed this tutorial: http://wiki.archlinux.org/index.php/NetworkManager However, when I reboot und
-
ITunes 10.4 removed spacebar pause for audio playback. WHY??
Before iTunes 10.4 I could just tap the spacebar to pause and play audio, now when I tap it it jumps backwards one track. You can see that the Back button is highlighted. Is there a workaround for this?
-
Hello, and thank you in advance for any assistance. I need to create a .pdf with conditional text. Ideally, the user would select (via checkboxes) certain options, and only the text relevant to those selections would be included in the .pdf. Is thi