Labwindows CVI and RT Module
Hi All,
I have a developed a Real time application using Ni Labview. In this I have developed a GUI using NI Labview and RT Module in Labview.
Iam able to read and write data from HOST PC GUI to the RT Module applications. I am exchanging the data between GUI and RT Module using the shared variables.
Now I want to recrate the GUI using the Labwindows. I still want to use the RT application developed in NI Labview.
So Previously GUI was build in Labview and RT Application running on RT Target is also built in NI Lab view.
Now I want to Create the GUI in NI Lab Windows CVI and still use the RT Application build in NI Labview.
Is it Possible to do it.
Can any provide any links.
Waiting for your replies.
Ramesh.
Hello Armand -
Instead of using the LabWindows/CVI implementation of SetSystemTime, you should use the Win32 implementation. To do this, ensure you've included windows.h as the first include file in your source.
Let me know if you have any questions.
NickB
National Instruments
Similar Messages
-
I am a newbie using CVi Lab Windows and SCXI modules, how can i perform ICTs to check the proper polarity of a capacitor?
Hello,
That's a big question for a single sentence. Could you give some more details about the hardware you have, and the measurements you want to take?
By the way, when you say ICT, do you mean In-Circuit Test or something else?
Thanks,
John N
Applications Engineer
National Instruments -
Labwindows/CVI and Android
Hello,
I work in Labwindows/CVI on Windows XP for the moment, I developpe a software and I would like to know if it will be possible to make a software, the same that this one to run on Windows, which runs on Android please ?
My software uses a SQL database (SQL Server) and an OPC Server (Phoenix Contact).
If it's possible, how can I do to create this application and install on a tablet for example?
I just know that a "NI LabWindows™/CVI Run-Time Module for Linux" exists, but I don't know if this module allows me to install my software on a tablet...
Thanks.
Bye KarineIn addition Android programs are normally written in Java, which has nothing
to do with CVI. But I read a tutorial some time ago that showed how to
compile C for Android. So at a very basic level of a pure ANSI C program
with no (or duplicate) user interface, it is possible.
Guillaume Dargaud
http://www.gdargaud.net/ -
Announcement: Security Update 5Q5FJ4QW for multiple versions of LabWindows/CVI and LabVIEW
An update for LabWindows/CVI and LabVIEW users is now available for download. This update resolves security vulnerabilities in components installed with LabWindows/CVI 2010 SP1 and earlier and LabVIEW 2011 and earlier. Further details can be found at KnowledgeBase Article 5Q5FJ4QW: How Does National Instruments Security Update 5Q5FJ4QW Affect Me?
The update can be downloaded with NI Update Service 2.0 (which installs with LabWindows/CVI 2010 SP1 and LabVIEW 2011) or from the Drivers and Updates page. Information about the update is also available in other languages through links in the Drivers and Updates page.
This is free update for all LabWindows/CVI and LabVIEW users.
National Instruments
Product Support EngineerThe correct link should be this one
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
I want to make another panel appears and runs, but i don´t want to use a subpanel. So, i would like to use somenthing similar to Loadpanel and Displaypanel, that you can use in Labwindows CVI, but in Labview, is ti possible?I hope your answers, thank you!!!
Hi Bichillo,
I posted an example here.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650000000500000014570100&HTHREAD=000087828&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
It demonstrates how to do what you are asking.
I do not mind you laughing at the code.
Have fun!
Ben -
LabWindows CVI and SQL Toolkit cursor/sch​ema error
We are using CVI 8.5 and SQL Toolkit 2.0.6 to write data to a SQL Server 2008 database. We are utilizing the Microsoft ODBC SQL Server (non-native) driver. We build a transaction that calls stored procedures on the database to write the data. Occasionally we get the following error:
"Could not complete cursor operation because the table schema changed after the cursor was declared"
The error is unusual since we only use one cursor and it is in a stored procedure that gets called by other software hundreds of times a day and never fails. Our database is also designed to only append records, not change existing ones. We're trying to pinpoint the error and I'm wondering if anyone knows if the SQL Toolkit uses cursors to build transactions or if this error has been seen by others. Since upgrading the toolkit or drivers takes a lot of effort, I want to make sure that I understand the problem before I start throwing darts at it. Thanks in advance for any insight.I've attached the function that's failing. Unfortunately, the code isn't designed with much resolution as to what SQL toolkit call failed, since these calls haven't failed once validated and put into the production environment. Can you tell if any of these functions use a cursor. I could certainly try adding more resolution to the error handling, but since we've only seen errors occasionally in the production environment, I'd need to release a temp version and monitor it. Let me know what you think. Thanks.
Attachments:
StoreTestData.txt 5 KB -
LabWindows/CVI and IMAQ - Invalid Image Type when saving bitmap
I create and image, grab it, then display it, but when I go to save it using imaqWriteBMPFile, I get an error that maps to Invalid Image Type, so I use imaqCast to cast it to an IMAQ_IMAGE_U8 type (which is what the orignal image was created as), then it works, except that my image has changed, that looks like the contrast or something has changed. Any suggestions?
Attachments:
image.bmp 302 KBWhat kind of camera & IMAQ board are you using? I have seen similar problems when a 12 bit camera is used. The image is acquired as a 16 bit image, and if you just convert it to an 8 bit image, it ends up looking like the one you attached. To correctly convert to 8 bits, you need to shift the appropriate number of bits during the conversion. For a 12 bit camera, that would be 4 bits.
Bruce
Bruce Ammons
Ammons Engineering -
Labwindows​/CVI and Corba
Hi all,
can somebody give me a little hand on this one. Is there somebody out there
that knows if there is any support for Corba in labwindows. Info or
library's ???
With kindest Regards
Bart de RouckSince 11 years are you still waiting for some informations
I'm really interested in. Any indication that lead me on my way would be awesome.
Regards
Petey -
Getting tarted with LabWindows​/CVI realtime
Hello everyone, i'm getting started with LabWindows/CVI and it's realtime module. I've got a NI PCI-6221 and i want to use it to generate some signals. I want to know how to communicate the host (control) part of my software and the targetRT part. Please advice me some example or tutorial which describes howto do that.
There are several examples available in the example finder under Toolkits and Modules » Real-Time which should demonstrate what you are looking for.
Communication between the host and target is usually done using network published shared variables, the whitepaper below discusses this:
http://www.ni.com/white-paper/4679/en#toc1
You can find an example of this usage here:
https://decibel.ni.com/content/docs/DOC-3806
Are these resources what you are looking for?
Craig H. | CLA | Systems Engineer | National Instruments -
Add Transparency Attribute for LabWindows/CVI Panels
Add an attribute for LabWindows/CVI panels for setting transparency.
Currently, in order to achieve this behaviour users are forced to workaround this using Windows API.
Having an attribute for this purpose would allow users to benefit from this functionality more easily and would make LabWindows/CVI programs more cleaner.
Related forum discussion: http://forums.ni.com/t5/LabWindows-CVI/Transparent-Main-Panel/m-p/3172386Greetings LabWindows/CVI enthusiasts,
I am pleased to inform you that the LabWindows/CVI Real-Time Module Beta Program is now open.
If you are interested in participating in the program, we encourage you to request participation by visiting www.ni.com/beta and choosing to register for the LabWindows/CVI Real-Time beta from the drop-down menu. All previous beta users must re-register for the LabWindows/CVI Real-Time Beta to ensure we have up-to-date information. This is a separate beat program from the LabWindows/CVI Beta and must be registered for separately.
National Instruments
Product Support Engineer -
Software Development Engineer
Hysitron, Inc. is a premier scientific instrument manufacturer. Founded in 1992 with headquarters located in Eden Prairie, MN we are committed to promoting nanotechnology by developing advanced transducer and control technology. This leadership has made Hysitron the world leader in nanomechanical test instruments. The TriboIndenter®, TriboScope®, Ubi, and other Hysitron innovations have opened new horizons for scientists interested in investigating and understanding mechanical properties of materials at nano-scale. Hysitron fosters an environment and culture where innovation flourishes, teamwork is encouraged, and superior performance is rewarded.
Hysitron invites applications for multiple software development engineer positions from those aspiring to explore and succeed in the nano world. Hysitron, Inc. is an Equal Opportunity Employer M/F/D/V
Job responsibilities
The software development engineers would be responsible for developing test and measurement software applications for nano-mechanical testing instrumentation. Job deliverables would include:
- Develop software applications in C based Labwindows CVI for Hysitron Instrumentation
- Support the development of applications to address challenges in instrument automation and control
- Test software applications using debugging and simulation tools
- Perform software releases and software quality assurance activities
- Participate in the design of new software products
- Perform maintenance activities for existing products
- Adapt and deliver on quality software development practices
Minimum qualifications
- BS in Computer Science/ Computer Engineering/ Equivalent Scientific or engineering discipline
- Min of 3 yrs experience in Instrumentation software development in an industrial or R&D environment
- Expert at programming language C, knowledge of C++
- Working knowledge of various communication protocols, e.g. USB, RS232, IEEE, RS485, TCP/IP, Modbus
- Knowledge of general software design/documentation processes in test and measurement systems
- Proficient problem solving skills
- Strong analytical and technical skills
- Excellent communication and interpersonal skills
Preferred Qualifications
- Proficient with LabWindows CVI and XML
- Working experience with DSP(Code Composer Studio) and/or FPGA level programming
- Exposure to digital electronics and instrumentation
- Working experience in Robotics interface programming
- Experience with Controls/Automation engineering
Application and Information
Qualified candidates should send a letter of application and their resumes to (please include ‘SW Engineer’ in subject line):
Hysitron, Inc.
10025 Valley View Rd
Eden Prairie, MN 55344 USA
Phone: (952) 835-6366
Fax: (952) 835-6166
E-MAIL: [email protected]
Web: www.hysitron.comThis position is still accepting resumes/CVs.
-
How to access the result list in teststand after execution using labwindows​/cvi
I am developing a user interface in labwindows/cvi that runs multiple teststand sequence files and would like to combine their reports (generated in teststand) into a single file at the end of a UUT. What is the best way to do this? At the moment, I'm trying to access the result list local variable after the execution has ended using API calls from labwindows/cvi and an end-of-execution callback event but those run-time variables do not exist anymore. How do I get a hold of the result list array at the end of an execution? I would like to grab this variable and pass it along from sequence to sequence using labwindows/cvi and not teststand itself. Is this possible? Any help would be great.
Thanks in advance,
LuisHey Luis,
Check out the response to this thread at the NI TestStand board here! -
Documentation on How to Develop an OPC Client Using LabWindows/CVI?
What documentation is there on how to develop an OPC client application using LabWindows/CVI? What tutorials, if any, are there? What reference manuals, if any are there?
I am completely new to LabWindows/CVI. I will be starting soon with the tutorial, "Getting Started with LabWindows/CVI". However, our application needs to communicate with an RSLinx OPC Server. Any documentaiton on how to learn to do this would be very much appreciated.http://www.ni.com/white-paper/4626/en/ Just did a quick google and this came up, Labwindows CVI and Labview are quite different but I usually look at Labview examples then try take the general idea from the example and apply it in CVI, hope this helps
-
Configure PXI-2567 to Trigger on Rising Edge using LabWindows​/CVI
I need some help configuring the trigger edge for a PXI-2567 using Labwindows/CVI. I have been able to successfully create and execute a scan list using both the ni-switch and daqmx APIs. However, currently the PXI-2567 triggers on the falling edge of an input trigger. I need to configure it to trigger on the rising edge of an input trigger. Every function I could find in the daqmx API for configuring the trigger edge gave a non-fatal runtime error, and I could find no such functions in the ni-switch API.
Any help configuring the input trigger edge on the PXI-2567 using Labwindows/CVI would be appreciated.
ThanksHi JonRice,
You can configure the scan list to execute on the rising edge of an input trigger. Here are the Labwindows/CVI and LabVIEW functions you would want to use to retrieve, specify or verify the edge of a digital signal that advances to the next entry in a scan list.
NI-DAQmx C Property: More >> Advance >> Digital Edge >> Edge
You can get/set/reset this property using:
DAQmxGetDigEdgeAdvTrigEdge
DAQmxSetDigEdgeAdvTrigEdge
DAQmxResetDigEdgeAdvTrigEdge
NI-SWITCH C Attribute: NISWITCH_ATTR_TRIGGER_INPUT_POLARITY
You can get/set/check this attribute using:
niSwitch_GetAttributeViInt32
niSwitch_SetAttributeViInt32
niSwitch_CheckAttributeViInt32
NI-DAQmx LabVIEW Property: More:Advanceigital Edge:Edge
DAQmx Trigger Property Node
Short Name: Adv.DigEdge.Edge
NI-SWITCH LabVIEW Property: Trigger Input Polarity
niSwitch Property Node
Short Name: Trigger Input Polarity
Hope this helps! Let me know if you have further questions.
Chad Erickson
Switch Product Support Engineer
NI - USA -
Hello,
I have recently started compiling C code using LabWindows/CVI, and have successfully called a simple DLL function from within LabVIEW.
I have a question about the types defined in LabVIEW's extcode.h file:
These are defined to explicitly quantify the number of bits used for each data type (e.g. float64 instead of float) in order to eliminate ambiguity across compilers.
When I am using LabWindows/CVI to compile, do I need to use the LabView numeric types defined in LabView's extcode.h, or can I use the standard C types (int, float, etc.)?
Is there a distinction between having to use these special types for CIN versus shared library calls in LabVIEW?
Thanks
in advance,
FrenkYou do not have to use the defines in extcode.h, but you certainly can if you want to.
The float64 is equivalent to CVI's "double", and the float32 is equivalent to CVI's "float".
These correspond to the double- and single-precision types in the IEEE Standard for Floating Point Arithmetic, IEEE-754.
I hope this helps.
Brian
Maybe you are looking for
-
How to copy a plugin from one application to another, is there an export possibility?
I am using Apex 4.2.2 with 10g and OHS. There is a Gantt chart plugin in the Sample Calendar packaged application. I couldn't find that plugin for download. When I open it (Application Builder>Application 76373>Shared Components>Plug-ins>Create / Edi
-
Soundproblems iOS 5.1, iPhone 4 with AV receiver
Hey guys, I've recently updated my iPhone 4 to iOS 5.1 I am using the iPhone with my Pioneer VSX-920 (connected via USB) to play music which has worked perfectly on iOS 5.0 and iOS5.0.1 but with the new update there is an annoying problem. If I play
-
AR reports - Trading Community Architecture (TCA)
We have just recently started using the TCA model for handling customer/party relationships. In our present setup there is a one to one relationship between party number and customer number, but customer number is not equal to party number. Most of t
-
When combine multiple PDFs into one, some letters are missing and display wrong letter
Hi all. I get a problem with combine multiple PDFs into a single PDF document. There are some PDF documents and they are working fine to open each document separately. But after I use Adobe Acrobat 8 Standard to combine them into one, some letters ar
-
Trying to boot from restore disc causes kernel panic error
Hi I am currently selling my MacBook Pro that is 6 months old. I wanted to pop in the restore disc today and format the drive and install Snow Leopard for the new owner. When I put in the restore disc that came with the computer it begins the boot p