f



Labview example serial to parallel conversion

Hello 
 
I have a test requirement where I want to use MIC 5891 which is a " serial input to 8 bit parallel driver - shift register " for driving relays etc, I want to use DAQ 6008 DO lines to be used as clk , serial data
strobe , output enable lines for this serial to parallel driver IC. 
 
Can someone provide help how this can be done using LABVIEW. We are using Labview 7.1
 
 
Thanks
 
Vinod
 
 
 
 
0
x9561 (148440)
3/20/2008 8:40:08 AM
comp.lang.labview 35213 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

2 Replies
838 Views

Similar Articles

[PageSpeed] 54

Hi Vinod,


The USB-6008 does not have hardware timed
digital outputs, so the only way to accomplish what you are trying to do will be
through software timing. Since it looks like you are doing synchronous serial
this could work.  You will have a
manually control each line in software to create the timing you are looking
for. A good example of software timed digital output can be found in the NI
Example Finder. This can be found by going to the Help menu and selecting Find
Examples.... Once the NI Example Finder is open select Hardware Input and
Output � DAQmx � Digital Generation � Write Dig Port.vi. 


Also <a href="http://forums.ni.com/ni/board/message?board.id=70&amp;thread.id=7192&amp;view=by_date_ascending&amp;page=2" target="_blank">here</a> is a forum post that talks about
implementing software timed SPI communication. Since SPI is a type of
synchronous serial this may help also. Let me know if you have any questions.
Take care. 


Thanks,
0
x9561 (148440)
3/21/2008 5:40:09 PM
Hello Nathan
&nbsp;
Thanks for yr suggestion. In this application timing is not critical , it just requires data to be first available at the shift register input &amp; then making a Low-High change at clock input . Someone has
also suggested using an array&nbsp;&amp; then outputting on DO lines. I would come back if any help
required.
&nbsp;
Thanks Vinod
&nbsp;
&nbsp;
&nbsp;
0
x9561 (148440)
3/26/2008 6:40:06 PM
Reply:

Similar Artilces:

serial to parallel and parallel to serial conversion
Hello, I am simulating MC-CDMA/MC-DS-CDMA(using Walsh-Hadamard code in Rayleigh fading Channel + AWGN) using Matlab/Simulink. Do anyone knows how to do the serial to parallel and parallel to serial conversion of the data? Thanks! "Mikail " <mikailidirs@yahoo.co.uk> wrote in message <flmn52$d1i$1@fred.mathworks.com>... > Hello, > I am simulating MC-CDMA/MC-DS-CDMA(using Walsh-Hadamard code > in Rayleigh fading Channel + AWGN) using Matlab/Simulink. Do > anyone knows how to do the serial to parallel and parallel > to serial conversion of the data? Thanks! h...

change a LabVIEW array outside LabVIEW and keep updated in LabVIEW
change a LabVIEW array outside LabVIEW and keep updated in LabVIEW hi, I am Interfacing a FrameGrabber with LabVIEW using a frame grabber SDK(dll). The memory managment of this FG allow you to allocate your own Array and to give a pointer to this Array to the memory manager. Then when you acquire with the frame grabber, the acquired image will be directly accessible in your array. 1.I give to the FG memory manager a pointer to the Labview array through a SDK Dll function. 2. I run the acquisition 3. I display the array My problem is that the Array is allways displayed with it initial val...

Labview examples
hi, i m new in this forum..well i m attending a labview lesson in my university and i ve to do a sort of thesys for the exam..can someone help me to find any examples of exercises in the web?or does someone have something to give me?like .vi files of your project or something similar?thank you very much and sorry for my bad speeking.. You can get some examples from NI's "developer zone". And there are many good examples in LabVIEW software, see Help>>Examples(or Find Examples) ...

Labview Serial
I have a problem with serial communications functions, so I need a Labviwe Serial manual. How can I get it for free? I got 16385 error code, what should I do? ...

LabVIEW
Hi ALL, I am a new user of LabVIEW. I have been assigned to acquire a signal from a sensor at a car. However, all these signals must be filtered. But I am not sure, what type of filter most powerful. Besides, as I know, different type of signal needs differenct type of filter. Anybody can help me to solve my problems. Your kind cooperation is highly appreciated. Regards, M. Firdaus, France Fird wrote: > Hi ALL, > I am a new user of LabVIEW. > I have been assigned to acquire a signal from a sensor at a car. > However, all these signals must be filtered. ...

Calling a LabView DLL from a Labview VI
Hi, I have a vi that is calling a Labview DLL and they both have a same subVI. If I drop that SubVI into the block diagram first then drop in the Call Library Function Node, when I run the VI, the DLL would not work and it did not give me any error. Does anyone know how fix this problem with Labview? or is there some configuration that I can force the all of that SubVI points into the DLL. Thanks for your help, Dan ...

Installation of LabView 8 after LabView 6
Good afternoon everybody, &nbsp; I've got a big problem with LabView. The fact is that I begin with this software... I've just installed LabView 8 on a computer where LabView 6 was installed. Once the installation finished, I tried to launch a VI That was developped under the old version. &nbsp; The problem is that two VI can't be found : - AI Sample Channel.vi - AI Acquire Waveform.vi Therefore, I can't use anymore the program that was working before... What is the solution to get everything ok please ? Thank you very much ! SylvianTriquigneaux, the VI will now...

Labview.lib was not calld from a labview process
I am working with our labview programers to create a Labview DLL that will be called from Labview and VB6. The code works fine with Labview but I keep getting Fatal Error: Labview.lib was not calld from a labview process. I have checked the versions of development software and the runtime versions that we are using and they matche 8.0.1. We have also preformed a mass compile of the DLL with no change. &nbsp; Are there any other steps that we can take to solve this problem??? &nbsp; &nbsp; <a href="http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument</a> &nbsp;Just to make sure you know of this article, I hope its a new one and else we can look further.<a href="http://www.groupsrv.com/computers/about566915.html" target="_blank">http://www.groupsrv.com/computers/about566915.html</a> Another discussion regarding the same error message.<a href="http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument" target="_blank"></a> Message Edited by andre.buurman@carya on 06-04-2008 08:02 PM <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=127655&amp;query.id=62975#M127655" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=...

how to make my labview codings as a package for labview
Hello NI, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I made drivers for some thrid party instruments, which is compatable for serial port and&nbsp;Ethernet.&nbsp;I have several vi's for that i cant able to share these vi's to my friends. i just want to build one package of my driver, also i want to install these package to labview user library. &nbsp; Tell me some good suggestion for this. &nbsp; With&nbsp;warm regards, Balaji DP Application Engineer, Gantner&nbsp;Instruments.&nbsp; The easiest way is to do a development distribution (File&gt;&gt;Save As. If your needs are more complex, you can also try <a href="http://jkisoft.com/vipm/" target="_blank">VIPM</a>. I don't&nbsp;think the free version can do this, but it's worth it just for getting the OpenG code. where i can find this development distribution ? is there option available in labview? If you re using LV versions &gt; 7.x, you can create an LLB by using the option Save As... in the Files menu. You have to just open the top-level VI of that driver (or something) &amp; go on to build the LLB. All other VIs will get added/bundled into it automatically. :smileyhappy: In LV 7.x, I think it ll be under the Tools &gt;&gt; Build Source Distribution menu... balaji_dp@yahoo.com wrote:Hello NI, &nb...

Error Code &quot;1097.....this might corrupted LABVIEW's memory..........&quot; appears after exit the labview and re-start labview
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I have a probelm when I use the "tool/import shared library(.dll)" wizard&nbsp;to generate the&nbsp;API from C. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The API &nbsp;works correctly when I complete the wizard, but after I exit labview and re-start labview to run&nbsp;the API&nbsp;again. The error 1097 code "......this might corrupted LABVIEW's memory.............."appears. &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The only solution now is to re-generate or update the wizard to&nbsp;generate the API. &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I try to find the answer in &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://digital.ni.com/public.nsf/allkb/58596F5D41CE8EFB862562AF0074E04C?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/58596F5D41CE8EFB862562AF0074E04C?OpenDocument</a>&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The paragraph in above article shows ........................... &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "LabVIEW does not crash until it is closedThe most likely problem is that the DLL function being called has corrupted th...

Compatability from Labview 5 to labview 7 express?
I am having a problem where I may have to write a VI on labview 5 on one computer, then move it to a second computer running labview 7 express. Are there any compatability issues I may have to deal with in doing this? there is not supposed to any compatibility issues with version 5. You would have a problem going backwards from 7 to 5 but not from going from 5 to 7.At least that is the way it is supposed to work. Joe Hello Kura, LabVIEW 7.0 will open and convert LabVIEW 5 VI=92s. There are occasionally conversion issues, just depending on what is involved in the VI (the bulk of which bein...

labview 8.0 to labview 7.0
Hi, Can somebody save the below VIs in LV 8.0&nbsp;for LV 7.0, please... ?! Find Power Interrupt Time.vi: http://forums.ni.com/attachments/ni/170/335061/1/Find Power Interrupt Time.vi Remove Element(s) from Array.vi: http://forums.ni.com/attachments/ni/170/335061/2/Remove Element(s) from Array.vi Hi Partha,Here are the VIs in LV7.0.Have a nice day Find Power Interrupt Time.vi: http://forums.ni.com/attachments/ni/170/335070/1/Find Power Interrupt Time.vi Remove Element(s) from Array.vi: http://forums.ni.com/attachments/ni/170/335070/2/Remove Element(s) from Array.vi ...

LabVIEW Documentation Survey: LabVIEW Fundamentals Manual
The LabVIEW Documenation team is conducting a survey to assess certain aspects of the LabVIEW Fundamentals manual. &nbsp; This survey will be used to evaluate and improve the LabVIEW documentation. This survey will be used for research purposes only. &nbsp; The LabVIEW Fundamentals manual describes LabVIEW programming concepts, techniques, features, VIs, and functions you can use to create LabVIEW applications. &nbsp; Please click the link below if you would like to participate in the survey. <a href="http://www.surveymonkey.com/s.aspx?sm=F36U605c9ZlsCbDGIePr9A_3d_3d"...

LabVIEW real time vs LabVIEW desktop
By my understanding, compact field point need LabVIEW real time. My question is: Does LabVIEW real time have the same function as the desktop LabVIEW? For Example, LabVIEW PDA module has less function than the desktop LabVIEW. Yes you have the same functionality as LV. You can develop like normally in LV and then you will target a real time system. This will then download the vi that you created and allow you to run this vi on the target. ...

serial to parallel conversion
i am facing a problem in serial to parallel conversion is there any function StoP for serial to parallel conversion plese help me out KULDIP PAHWA wrote: > i am facing a problem in serial to parallel conversion > is there any function StoP for serial to parallel conversion plese > help me out My program does not work, please give me the solution.... You need to give some more info on what your problem exactly is. Do you want to go from a seiral port to a parallel port? Or do you have a single array of numbers (bits?) which need to be converted to some parallel format (which form...

labview 8.5 to labview 7.0
i am on my labview working with 8.5but at work, we only have labview 7.0.what would be my best way to get my vi to be 7.0?thank you so muchMessage Edited by krispiekream on 06-19-2008 03:59 PM In order to go from LV 8.5 to LV 7, you will need to have LV 8.5 (save it back to 8.0), LV 8.0 (save it back to 7.1) and LV 7.1 (to save back to 7.0). If it's only a few small VI's, you can post them on the forum and ask someone to do the saves for you.&nbsp; (Best if you do the save back to 8.0 and&nbsp;post that in order&nbsp;to eliminate 1 of the 3 steps for whoever will do the rest of the conversions for you.) yeah. great.. i did all those steps.i went from 8.0 to 7.1i dont have labview 7.1 so i can't go to 7.0.can someone please help me. Code.zip: http://forums.ni.com/attachments/ni/170/333708/1/Code.zip Hey Krispiekream, &nbsp; Please try the attached to see if it works with LV7.0 &nbsp; Hopefully it does!! &nbsp; &nbsp; Copy 7.0.zip: http://forums.ni.com/attachments/ni/170/334253/1/Copy 7.0.zip thank you so much. i'll try it right now. hi there,i somewhat got it to work.but i am having this error everytime i try to save it.does anyone know how i can get rid of it?<img src="http://forums.ni.com/attachments/ni/170/334653/1/untitled5.PNG"> Message Edited by krispiekream on 06-24-2008 06:02 PM untitled5.PNG: http://forums.ni.com/attachments/ni/170/334653/1/untitled5.PNG You might want to look into <a href=&...

upgrading cRIO from Labview 7 to Labview 8
Hi again :) I have a cRIO system that is running Labview 7. It runs fine. No problems. We've upgraded to LV8 and I'm wondering if I should convert the LV7 system to LV8. The only reason I would do this is because for me LV8 is much easier to work with regarding cRIO (using DMA, setting up the project etc.). Now, if I attempt to upgrade the LV7 cRIO system, what kinds of problems will I run in to? I assume it means formatting the cRIO, installing LV8, converting the program from LV7 to LV8... &nbsp; Is there an FAQ regarding this, specifically about the cRIO? &nbsp; Thanks, Jeff...

Labview Conversion Toolkit
I received the Labview conversion Toolkit in a rar file. I cannot open this rar file with the mac emulator Basilisk II. It is difficult to find a unrar program for MacOS 7.3. I tried MacRar and it doesn't accept the password for the rar file. Is it possible to get the Labview conversion toolkit (the Powermac version) in a format I can open with stuffit expander 5.5 ? &nbsp; &nbsp; Best bet would be to ask your local NI representative, or the NI contact you've got the toolkit from. Btw. are you sure the toolkit you've got is the MacOS version? Why not unzip it in Windows, ...

Labview driver conversion
Hi there, i have an old driver which&nbsp;is originally written in LabVIEW ver. 3.0.1 back in 1995. (see the attached file). Unfortunately, i don't have&nbsp; LabVIEW 3.0.1. My current vertion is 8.5. Can somobody help me with the driver conversion? &nbsp; ... the old driver can be downloaded from here: <a href="http://www.filesearching.com/cgi-bin/s?t=n&amp;l=en&amp;q=ftp.prenhall.com/pub/ptr/prof_and_ref_electrical_engineering.w-041/chugani/LabVIEW/50/GPIB/ngd6100" target="_blank">http://www.filesearching.com/cgi-bin/s?t=n&amp;l=en&a...

labVIEW example problem
i have install labview 7.1 development software with driver , on windows xp i am not able to open example . it shows following errors "CAN NOT FIND LabVIEW SERVICE PORT FROM SERVICE LOCATER YOU WILL BOT BE ABLE TO BROWS DIRECTRY STRUCTRY" while when i make any programme it works please help to solve this problem thanks R.R.YADAV rryadav@cat.ernet.in hi Yadav, LV 7.1 has been giving some problems when you install it and we try to access the example dir,try reinstalling LV if it does not work you can always access the example from the national instruments folder,LV7.1/examples. ...

Serial Comunication with LabView
Hi everybody! &nbsp; I've a problem with the serial comunication menaged by LabView... :smileysad: &nbsp; I've a PC with two serial ports (COM1 &amp; COM2) and I realized&nbsp;two really simple programs to test serial communication:&nbsp; &nbsp; - "Serial Tx"&nbsp; to transmits the string "AA" from port "COM1".&nbsp;&nbsp;&nbsp; - "Serial Rx"&nbsp; to receive this string from port "COM2". I've checked with the oscilloscope and the string is properly generated by COM1... :smileyhappy: I start "Serial Rx"&nbsp;and after this, I immediately start "Serial Tx"... But I don't read anything and after the timeout value "Serial Rx" ends :smileysad: Can you help me ?!?! Thank you very much! :smileywink: SERIAL RX.vi: http://forums.ni.com/attachments/ni/170/337513/1/SERIAL RX.vi SERIAL TX.vi: http://forums.ni.com/attachments/ni/170/337513/2/SERIAL TX.vi Can you post the screen shot of your vi or post it for Lv 8.0? You only need one serial port to talk to one scope. The serial port does both send and receive. <a href="http://en.wikipedia.org/wiki/RS-232" target="_blank">RS-232</a>. First try communicating with Hyperterminal. If you can get that to work, the LabVIEW should have no problem. If you are just doing a loopback test, then verify you have the correct type of cable. You need one that swaps the ...

labview crashing when calling labview-built dll
Hello I need some help with regard to calling a LabVIEW-built DLL in LabVIEW.I have created a vi in LabVIEW. I made the DLL for this vi. I called this VI as a re-entrant in another vi.This vi(calling DLL) has been working fine till yesterday. Since yesterday, it started crashing LV.I need some help in this regard.I am attaching the screenshots of the Application Builder configuration window, the B.D of the vi using DLL and that of the configuration window which pops up when i call the DLL.I made a vi which performs FRA. I built its DLL.I have around 10 inputs. I output 3 one-dimensional arrays, and a string from the DLL.When i build the DLL, the builder defines the outputs 'gain', 'phase' and 'frequency' as arrays of 8-byte double.When i call this DLL in my vi, the configuration window sets them as 'numeric' outputs.Why does this happen? What is the solution to this?When i try to set them as 'array' in this configuration window, i get a warning that i am trying to change the data types which do not match with the data type found in the DLL. Is this the problem with my code or with the Application Builder?Now, after i change the 3 output datatypes to Arrays, and set their minimum length(i assumed that this value means the size of the array ), the vi runs and crashes LV. I am nto sure when it crashes, why it crashes. It runs fine at one time. It crashes at another time. I am nto sure if these arrays are teh reason why L...

Is LabVIEW Runtime required for a DLL created by LabVIEW ?
Hi &nbsp; Could some one&nbsp;advice me on this matter please. I am trying to build a DLL for a set of functions created in LabVIEW. Now I am&nbsp; wondering if I need to use it with some other language like VB or C++, do I need to install the LabVIEW runtime of the same version as the original functions ? &nbsp; Any settings required while creating the DLL ? I am trying to&nbsp;create it in LV 7.0 &nbsp; Thanks in advance Deepu. &nbsp; Hi Deepu, yes, if you want to use a dll, which is created with LabView you have to install&nbsp;the runtime engine. Mike Alright Mike, Thanks ! I was&nbsp;hoping it would work without the LabVIEW runtime. Anyway, thanks for the quick reply. Rgds Deepu. ...

Converting LabView 4 vi. to LabView 7 vi.
I have a collection of programs written in LabView 4. I upgraded to LabView 7 recently. I am now trying to open my old 4 vi's with no luck. No block diagram is the error that I'm getting. Any ideas on converting would be greatly appreciated. Chris Without a block diagram, you cannot open a VI in a newer version because the block diagram is required for the recompile. The only way to upgrade is to find the original VIs with the source code. No one, NI included, can recover a block diagram once it has been deleted. Chris Merriman wrote: > I have a collection of programs written...

Web resources about - Labview example serial to parallel conversion - comp.lang.labview

Conversion (law) - Wikipedia, the free encyclopedia
Its criminal counterpart is theft . Examples are seen in cases where trees are cut down and the lumber hauled from the land by someone not having ...

Personalized Notifications Can Increase Conversion Up to 300%
... to avoid sending generic push notifications to every user. By sending personalized notifications instead, companies can see their conversion ...

Ex-gay conversion therapy challenged in federal consumer fraud lawsuit
... a federal consumer fraud complaint with the Federal Trade Commission against People Can Change, an organization that practices ex-gay conversion ...

10 Copywriting Tips You Can Use Right Now To Boost Conversion Rates
Writing great content is quite possibly the quickest and most cost-effective way to increase your conversion rates. Great content creates engagement ...

Hail Caesar! The 'other' Roman Centurion conversion movie is a bizarre, self-satisfied mess
Martin Saunders went to see 'Hail Caesar!', and found the whole thing incredibly disappointing.

First Solar Achieves New Conversion Efficiency World Record For CdTe Solar PV Cells
Originally published on Sustainnovate. By Henry Lindon A new conversion efficiency world record for cadmium-telluride solar photovoltaic cells ...

A Response To Jonah Goldberg On His Mistaken Claim Of My Trumpine Conversion
I prefer an economic-growth solution to middle-class angst, not a protectionist program.

What Is the Difference Between the Conversion and Recharacterization of an IRA?
... there are certain rules and tax implications you need to know about. Photo: www.TaxCredits.net . When it comes to IRAs, the terms "conversion" ...

Pay At The Pump Mobile App Could Eliminate Need For Costly EMV Conversions At Gas Stations
Gas stations and convenience stores have until Oct. 1, 2017 to replace mag swipe card readers with EMV or face the liability for fraud. A Finnish ...

TODD STARNES: Students told to write essay on their conversion to Islam
TODD STARNES: Students told to write essay on their conversion to Islam

Resources last updated: 3/18/2016 6:47:03 PM