Creating a CIN with Labview 6.0.2 and MSVC++ 6.0

Hello,
I am a new Labview user. Does anyone know where I can find examples of
creating a CIN? Preferably demonstrating use with Labview 6.0.2 and MS
Visual C++ 6.0
Thanks,
J.White

LabVIEW comes with a pdf file titled "Using external code in LabVIEW", which provide good references on how to do what you are asking. In case you don't have it, you can download it from ni.com:
http://digital.ni.com/manuals.nsf/web_productcurrent/4F1447F7CD83D6D88625690D00637CED?OpenDocument
There is a small issue with MS Visual C++ 6.0, which is addressed in the following link:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/d7bdb30eef410056862569ab00724294?OpenDocument
Here is also a full tutorial about CIN at ni.com:
http://www.ni.com/support/labview/program/callcode/cinmain.htm
Also check the following examples, which were very useful for me:
Using a CIN to Create an Array of Strings in LabVIEW
http://zone.ni.com/devzone/devzoneweb.nsf/ope
ndoc?openagent&AD517F5DCCAF70228625683A000A570F&cat=2F4F574886553A62862567AC004F032D
CIN that converts a LabVIEW String to a C String, Modifies it, and Returns it as a LabVIEW String
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&D978409908EA760D8625683A000B6B6E&cat=2F4F574886553A62862567AC004F032D
Replacing a Portion of an Array
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&3B5B43568CF83D948625683A000C397E&cat=71359FBAD517F4CB862567E0007B6F6E
Best regards;
Vargas
www.vartortech.com

Similar Messages

  • Is there a way to create a heading with shading behind the text and thin lines above and below?

    I'm working with InDesign CS6, Windows 7.
    Is there a way, using paragraph rules, to create a heading with shading behind the text and thin lines above and below the text?
    I'd like to create headings that look like these:
    Thank you!

    I have a document where I almost do such, but without the fill. I use a Head Style which Spans Columns for this instance; it allows the haeds to flow and fill the width.
    Paragraph Rules above and below are turned on with plenty of offset.
    I tweaked my setting to accomodate your need - It required only one instance, not above and below, and changing the stroke to a double stroke. 
    It may be necessary to create a custom stroke to modify the proportion of stroke vs fill. There is a difference of thin-thin and  thick-thick, neither of which seemed perfect but might be dependent on the Character height.
    Creating custom strokes is accomplished via the Strokes Panel.

  • I would like to create a document with imbedded video, to email, and airdrop to an iPad mini. What program should I use?

    I would like to create a document with imbedded video, to email, and airdrop to an iPad mini. What program should I use?

    Thank you for using the Apple Support Communities
    I would suggest using Apple's Pages which allows support for imbedding videos from the device's camera roll. Pages also allows for sharing via email, Air Drop, and Messages.

  • Create a melody with Labview/ Function Generator

    Hi (first sorry for poor english, not my native language)
    I have a project at school which is creating a melody using Labview and a function generator. I've worked on it for hours now and i still can't get through it.
    I joined the vi file with my post so you can get a look at what i've done so far.
    First, i do'nt know which loop i have to use (u'll understand soon enough if u just take a look at the vi file), the problem is that i want to create 4 arrays using 2 text files.
    The first one is used as a reference : exemple the frequency to play an A is 440Hz, so my first text file looks like that :
    A 440
    B 493
    the second one is my melody, which includes the notes and the tempo (in ms)
     , so it's like :
    B 1000
    C 1500
    I used the first two loops to seperate each string lines of my files so I have at the end 4 different arrays. One containing the note's references, one containing the frequency, one containing my melody's notes and one containing the duration of each notes.
    The problem is that when I use a while loop, it seems that my arrays are not containing every elements it should, it only has the last one. Just try to run the vi file.
    Could anyone give me some help ? Don't hesitate to ask more questions if u didn't fully understand my problem !
    Thx
    Attachments:
    PR.vi ‏19 KB

    Hi claudeuntel,
    Your array contains just the last note because at each for loop iteration a new table is created.
    You have to send the table you created at one iteration to the next one.
    To do this you can use shift register.
    I didn't have tested the VI below but it should looks like that.
    Valentin
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Is it possible to create a vi-file in an .exe file with labview 6.1i? and how to create it?

    Hello,
    I want to create a vi-file into an exe-file but don't know how to do it with labview 6.1i.
    Maybe somebody here can give me hints to do it!
    thank you very much!

    To build EXEs you need the application builder. To see if you have it, open the tools menu. If you have an option named "Build application or shared library", you're OK. Just open it and you can set up your app there. To run this application, a computer would have to have the LV run-time engine, which can be downloaded from the NI site. For the first time you deploy the app, you should use the app builder to create an installer, which will install the run-time engine as well as your app.
    If you don't have it you can purchase it seperately from NI.Message Edited by tst on 03-17-2005 10:42 AM
    Try to take over the world!

  • How do I create an executable with arguments that executes once and terminates

    I'm just starting with LabView, so I'm sure this issue has been address somewhere already.  I just can't locate the answer.
    I am running version 6i (I may be able to get 7 or 8).
    I need to create a command line executable program with parameter input that executes only once and then terminates.
    This is for instrument control (sets the signal generator frequency, level, RF on/off and arms the Trigger).  I have written a simple VI that works from within LabView (programs the instrument when the Run button is pressed).  I have further managed to perform an Application Build to create an executable however, the application continues to run, waiting for the Run button to be pressed.  Also, I need to know how to pass parameters to this executable (freq, level, RF on/off, trigger arm).
    This executable will (eventually) be called repeatedly by a Matlab file.
    Thanks,
    D

    LabVIEW 7 added a property to get a command line argument. For older versions see http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DA5B56A4E034080020E74861.
    I'm not sure I understand you problem with the Run button. If you set the execution mode to Run When Opened from VI Properties, it should execute once whenever it's called. I think that when building an executable, it changes the property to this if it's not already set. If the application does not have this set, it will not be running at all. I'm assuming that you are talking about the Run button on the toolbar and not a run Boolean that you've created on the front panel.
    Since you have the app builder, your other option is to create a DLL. If you can call a DLL in Matlab, then that would probably be simpler.
    Message Edited by Dennis Knutson on 11-28-2005 02:46 PM

  • Connect RS232 with labview to read current and voltage values.

    Hi, I am trying to connect my microcontroller kit which will measure the current and voltage. I was provided with rs232 port to connect with labview to read the voltage and current data that is measured by my controller. How to make it display both current and voltage value by acquirng the data from rs232. I tried some programming but it doesn't work or it was wrong. How to make it work ?
    Attachments:
    pro.vi ‏13 KB

    As we said in the other thread, you need to talk to whoever is designing the microcontroller and decide on a specific format for it send you the data.  Once we have that, then we can start talking about how to program this up.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Creating a movie with intro music in background and voice over in music

    I've got a video imported as a new event and created a new project. But i desire to play a song previous to the beginning of the video. How do I do this?

    Another alternative to AppleMan's suggestion is to create a slideshow (with transitions), using stills from the video frames. Make the slideshow the same length as the song you are including. This would make a nice lead-in to your main video and be more interesting than a static background, depending of course on the nature of your project.
    See here for AppleMan's tip on creating stills from video:
    http://discussions.apple.com/thread.jspa?threadID=2255510
    John

  • Problems with LabView 7.1.1 and Report Generation

    I have just upgraded from LabView 7.1 to 7.1.1. As per the release notes, I did a mass compile of the vi.lib/addons/_office folder (which contains the Report Generation Toolkit for Microsoft Office v1.1) but I get a lot of error messages complaining about "Bad VI". These VIs are no longer available after this operation. If I don't compile them (ie leave them in 7.1 format) then LabView complains that some subVIs are not executable.
    Are LabView 7.1.1 and the Office toolkit 1.1 compatible? How do I get them to work together?
    Simon

    Maybe you have figured this out by now.... But after reinstalling/upgrading LV you must reinstall your Report Generation Toolkit.
    If you care for the why.... There are a few files that both the Report Geneartion Toolkit and LV install, only the the Report Generation Toolkit installs a more beefed up version of the files. When you upgraded LV, LV copied a new version of these files (a version that doesn't have the Report Gen support in it) over the Report Generation version. So you have to run the toolkit installer to get the toolkit version back.
    Deborah
    Message Edited by Deborah on 10-06-2005 12:37 PM

  • How can I create a Report with LabView Real-Time?

    With conventional LabView, I can create Reports in HTML, for example to document Errors.
    I need this feature in LabView Realtime. Is it possible?

    It is possible, but you got to put a name to the file with an extension of three letters. i.e. errors.htm
    Three letters on the extension is what the RT Operating system allows to use.
    Then you will need to do an ftp to your RT machine and get the file and maybe change the extensions.
    Not all the vis for Report generation can be used in the RT engine. The ones that use ACTIVE X will not work. i.e printting
    Another way to generate reports and the most recommended is to use the host machine to generate the reports.
    Regards,
    Blasioz Valenzuela
    National Instruments

  • How to create a trigger with Labview

    Hi all,
    i've this strobo lamp Perkin Elmer MVS 4100
    (http://pki8.mondosearch.com/cgi-bin/MsmGo.exe?grab_id=0&EXTRA_ARG=&host_id=42&page_id=20717&query=4100)
    and it does have a 9pin connector for the External Trigger.
    Do you think is possibile to connect it to the serial port of the pc
    and create via Labview the Trigger?
    The strobe needs a +5V, 20mA,10-100µsec pulse to be triggered.
    THanks in Advance.

    Hi COmpa,
    Do you think is possibile to connect it to the serial port of the pc
    and create via Labview the Trigger?
    The strobe needs a +5V, 20mA,10-100µsec pulse to be triggered.
    I think the 9-pin serial port on a PC swings between +/- 12V - if that's OK for your trigger, then a pulse of precise duration might be generated by configuring the port for serial output, a suitable baud-rate, careful selection of start or stop bit, and then sending a single byte byte where all bits are the same.  I've never done this, but I think it's possible!
    If the +/- 12V is a show-stopper, then consider using a parallel-port instead.  Its pins swing between 0 and 5V.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596
    Also, a "quick and dirty" way to control pins on either the serial port or parallel port is by writing to a VISA property node:
    Have fun!
    Message Edited by tbd on 06-28-2006 11:52 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    VISAProp.jpg ‏3 KB

  • Is it possible to create a PDF with different colors for screen and printing?

    I'm working on a document that features light colored text on a dark background. I'll be sending this document as a PDF to someone who will likely want to print it. Is it possible to set up the document such that it will display this way when viewed on screen, but will print as black text on a white background, without requiring any special action on the part of the recipient?
    Printing a color separation of just the text color produces exactly the results I'm after, but I can't ask the recipient to do that. I need it to happen automatically any time it's printed.
    I've tried setting up a duplicate text layer in black and placing it under the background layer, then setting the background layer and colored text to 'never print'. This works within Acrobat Pro, but not when I print the same document from Preview.
    Is there an acrobat equivalent of a CSS print stylesheet?
    Thanks.

    Create the document in layers with the background on a seperate layer than the text. Export the PDF with"Create Acrobat Layers" selected (it will need to be at least version 1.5).
    Open the PDF in Acrobat, choose the background layer then Options>Properties>Initial State and under "print" choose "Never prints".

  • How to stop Windows iTunes from spontaneously creating new folders with duplicate copies of songs, and renaming existing folders?

    I've recently started using iTunes regularly to import CDs. Since then, I've found my Windows 'My Music' folder is behaving in bizarre ways.
    I like to organise most of my music in folders by Genre --> Album title, without paying attention to Artist. I also like to rename certain album folders (and the Album name in each track's metadata as well, so that each album/folder remains consistent), and also to create customised 'mix tape' album folders. I just want to use Windows Explorer / My Computer to manage this; I don't want to do it via iTunes. I just want to use iTunes for initially getting the music from CD to computer.
    Previously, when I was using Windows Media Player to import CDs, if Windows Media Player placed an imported CD under a folder category I don't use, such as Artist, I would just manually move the Album folder and delete the empty parent Artist folder. However these days iTunes is spontaneously creating an entire series of Artist folders, even for tracks and albums that were already on my computer, and is placing duplicate track files into them. Additionally, it's renaming albums for folders and tracks I've customised, turning album titles back into their original values. This is happening even though the destination for newly imported/downloaded iTunes tracks is not the My Music folder itself, but rather another folder within that one. I've had a look at Preferences --> Advanced and the 'Keep iTunes media folder organised' and 'Copy files to iTunes Media folder when adding to library' boxes are already unchecked, so it's not related to that anyway. How do I get iTunes to leave my folders alone?

    First off see this user tip so should any further unwanted changes happen you have a chance to revert to your original layout.
    It is not unknown for AV software to interfere with iTunes and corrupt its configuration files. If this happens iTunes can revert to the default settings to "Keep..." & "Copy...". Deselecting those options won't return any files to their original paths.
    If you have "Show iTunes in the Cloud Purchases" enabled under Edit > Preferences > Store that can lead iTunes to download the original metadata for any of your purchases and show that instead of any edits you may have made to it. Turing that option off and restarting iTunes may reveal your version of the metadata.
    There is another option under Edit > Preferences > Store that reads "Share details about your library with Apple" although I don't think that changes metadata in the way that the similar option in Windows Media Player does. Double-check your settings in Windows Media Player (Options > Library) to make sure it isn't set to "Retrieve additional information from the Internet". This is usually the cause of spontaneous tag resetting. WMP can be called into life in the background when visiting certain websites and it has a lazy cache, meaning it can sometimes write out metadata to your media files long after the data was originally acquired.
    It is also work noting that mp3 files may contain multiple tags and iTunes, for one, treats these unpredictably. In some cases it may appear to accept and write out a tag change only to later read back the original unchanged data from another copy of the tag.
    tt2

  • An error occured with Labview 5.1.1 and Netscape 7.1

    After upgrading Netscape from version 7.02 to 7.1 i receive miscellaneous errors after some time while executing an program which sends and receives data via tcp/ip. If an error has occured, it is necessary to restart Labview and Netscape. Then it works some hours before crashing again. With Netscape 7.02 everything worked fine.
    Any solutions?

    Normaly, Netscape (only the Messenger) is running all the time. And some time the Labview-program which uses tcp/ip is running at the same time. This does not make any trouble. But if I am using the Netscape Browser too at the same time, then miscellaneous errors occur and I must restart the whole Netscape suite. If I don't do this, the Labview program always reports an error.
    Little time before Labview reports an error, the Browser view in Netscape is corrupted (some times arabien characters).
    I am using Windows 98SE. With Netscape 7.02 everything worked fine, the error occured after upgrading to version 7.1.
    I haven't looked at the resources yet, but I will do.
    EPH

  • Theme 20: Cannot create a page with 2 regions in one and 2 reg. in next row

    Hello,
    I have a page (template Two Level Tabs) with 4 regions in an application with theme 20.
    Region 1
    ======
    Display Point: Page Template Body (2. items below region content)
    Column: 1
    Region 2
    ======
    Display Point: Page Template Body (2. items below region content)
    Column: 2
    Region 3
    ======
    Display Point: Page Template Body (3. items above region content)
    Column: 1
    Region 4
    ======
    Display Point: Page Template Body (3. items above region content)
    Column: 2
    So I should get a layout like this:
    Region1 | Region2
    Region3 | Region4
    But I get a layout like this:
    Region1 | Region2 | Region3 | Region4
    Is this a but in Theme 20? With an other theme it works fine.
    Regards,
    Mark

    Its all empty html-regions. I create this page because I have the problem with a complex page, but so its easier to find the failure.
    The sequences are 10 (region test1), 20 (region test2), 30 (region new row 1), 40 (region new row 2), look here:
    Regions
    Display Point: Region Position 02
    10           test1     HTML     
    20           test2     HTML (Column 2)     
    Display Point: Region Position 04
    30           new row 1     HTML     
    40           new row 2     HTML (Column 2)

Maybe you are looking for

  • Employee Attendance Related

    Hi I have two forms to mark employee attendance daily and employee Leave.Which employees are present marking attendance P into emp_attendance table. i have to keep record of the absent teacher who didn't inform and emplyee which are on leave.Which em

  • BI reporting of data in SharePoint 2010

    Hi, We have a SharePoint 2010 Team Site where we want to implement/record Risks and Issues . Could you help me with some pointers where i could see examples on Project Risks and Issues depiction in graphs and charts in Sharepoint. Tnx

  • Performance issue in obiee11.1.1.6.8

    Hi all, i have built  same Logical model  for sql server database and Oracle database.i have performance issue in sql server where as it not showing the filter in physical query(nqs query log) hitting the DB of SQL server( so its taking more time to

  • Keyboard on 13" acting strange

    I've got a MacBook 13" that I bought used, the previous owner had spilled Coke onto the keyboard, got it for cheap as the backspace key didn't work. I replaced the keyboard with a new (used) one, although it is Backlit (the original was not). Now non

  • Email to requisitioner after PO saved, GR, MIRO

    Hi, Business requirement is that a requisitioner should trigger a email after PO is saved, PO release, Goods Received, and Invoice Verification. At every stage requisitioner should get mail to his/her external email id or in the sap inbox, in R/3. wi