Don't know how to specify a digital input or output with Port Config
I am trying to modify an existing VI that I did not write. I have a 6533 DAQ board connected to a relay box. I would like to use one of the lines on port 0 of the DAQ as an input (it will be a switch used to trigger the sequence of outputs). the rest of the lines I would like to be outputs. I don't know how to specify which line is an input and which is an output. I am using LabVIEW 5.1 and the current VI just contains a sequence of delays and pulse width for each channel. It uses Port Config to specify the port and line directions. Only it's set so that all of the lines are outputs. Does anyone know an easy way of using one input to control several outputs from the same port?
Thanks.. that is what I thought but I didn't see any examples with the line direction map set up like that. SO.. now I'm stuck on how to use that input to trigger the outputs on the same port. I need to use the input as a switch to activate a sequence using the outputs. So first.. how to I single out just the input line to be used for the trigger. Normally when I need to do something like this I'm referring to channels and not Port lines. Also, how do I language the switch? Is the input going to be normally binary? 0 for off and 1 for on? So should I use a boolean statement?
Thanks again for the help.. my boss doesn't know much about the programming either so I have to figure it out.
Similar Messages
-
I have a sprint I phone 5 and the carrier added the hotspot feature. I do know how to turn it on to use with my iPad.
See if this helps: http://support.apple.com/kb/HT4517.
-
I have an Apple16GB with BT Yahoo home page which had a box for mail and weather and further down I had my local weather, I have touched something and lost these boxes and my home page has changed and I would like to get it back as it was. I have to admit to being useless at computers although I love my I Pad.
Is this the website that you are looking for? According to the very little bit of research that I did on this before responding to you, there have been changes made to the website and to the way that works ...if I read everything correctly.
http://home.bt.com/
Did you have a shortcut to the website on your iPad home screen? If that is what you want to create again, navigate to that website in Safari and then tap the arrow icon next to the address/URL field at the top of the Safari toolbar. Form the window that will pop up, select - Add to Home Screen. That will put an icon on your home screen that will allow you to open directly to that page in Safari when you tap on it. -
Don't know how to share my iPhoto 7.1 library with both accounts on my iMac
This may be a stupid question, and the answer is probably staring me in the face. I've been importing pictures into iPhoto and arranging the events. It's all good, but I want the other account on my Mac to be able to see, edit and use the same library. I have personal file sharing turned on. I just used the default pictures folder.
Can someone help me with this?
thank you....
/michaelHi Michael, it's not a stupid question! Have a look at Apple's info. on this and also a longish thread on the same problem.
http://docs.info.apple.com/article.html?artnum=304890
and the thread .. http://discussions.apple.com/thread.jspa?messageID=5547545
Good luck with that!
Best wishes,
Robert. -
How do I change the default apple ID that's displayed when buying or updating apps? It's currently defaulting to a no-longer-existing ID, and I don't know how to change it.
Any apps you purchased with the no-longer-existing ID will always have to be updated with the password to that account, you cannot merge account purchases.
To change to your new account go to Settings > Store > Apple ID: and put in the one you want to use. -
Has anyone ever had the icons on the menu magnify? My phone slipped onto the floor in my car and icons are now hugh. Don't know how to fix it.
Double tap the screen with 3 fingers.
Stedman -
could someone please point me to the possible areas on my server where i can check why i cannot connect remotely. I have been trying for the past two months without success. i did not tru port mapping cause I don;t know how to do this and I was told that port mapping on my time machine is done automatically. I am running a mac mini lio server 10.7.3 Time capsule.
Most people are going to see that message as a result of not properly closing Firefox, and then attempting to reopen Firefox. This problem is most likely to occur on Windows Operating systems, less frequently on Linux and Mac systems but not unheard of on any system.
Because you are on a Mac, I am referring you directly to an article that has been reworded for each operating system.
: http://kb.mozillazine.org/Kill_application
To properly close Firefox on your Mac use "Firefox" button -> Quit Firefox, and not with the "X" in corner of window which simply closes the window and not necessarily Firefox.
When you get stuck as you have described you must Force Firefox to terminate as described at the end of the article:
Mac OS X
:Open Apple Menu and select "Force Quit". For Mac OS X 10.3 and later, you can also use the Activity Monitor found in your "Utilities" folder (Applications -> Utilities -> Activity Monitor).
<br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small> -
Hi my name is Catherine I have downloaded digital editions and a book to my PC but wish to read this on an iPad. I have downloaded Digital Editions on the iPad and don't know how to authorize it. Will the book automatically download onto the iPad once tihis is done and I open my account on the iPad?
YOu can also use Bluefire Reader for reading books that need an Adobe ID. There are several ways to transfer a book to your iPad. One way is to email the acsm file, open the email on the iPad, and "Open in ... ". Another way is to use an app like Dropbox. The third way is to connect your iPad to your computer, open iTunes, select the iPad, and under Settings select Apps. Scroll down to the File Sharing apps, select the app you want the book on, on the right select Add, navigate to where the book is on your computer, and select it. Open the app on your iPad and it should load.
-
My system consists of differents vi´s.Some of them are used to read analogic inputs and digital inputs, using the serial port.
The values that I read, go through differents vi to be proccesed, and at the end, these values are written in a file, all the values in the same file.
My problems of synchronization are:
1. I have one vi per input, and all of them use the same serial port. How can I synchronize them to avoid serial port conflicts? (using queues??) And how can I do, to get differents number of samples/sg with every vi? I have to introduce them in differents loops?
2. The other problem is that, for example, I want to read 8 samples/ s but I only want
to write two samples every second. How can I do to avoid stoping the data flow?
Maybe, my problem is that I want to see the system like
one block, and I am ignoring that, although all the system works like a block, every part works using a different "speed". I don´t know how tools can I use to combine two ideas, working like an only system( data dependence, some vis need the data of others vi to be able to work) and working getting differents numbers of samples/s.
I have seen that there are synchronization vis. I am going to glance at them, maybe I find something interesting but I amsure that your help will be very useful?
Thanks in advanced!!
GraciI think you are pretty much on the right track with Queues. I have implemented a very similar system myself using queues. I have even different systems connected to the serial interface, but I can synchronise them all easily using the following method:
1) Make a VI for opening the serial port and reading the data. The data (parsed to extract the numbers required) are then stored in an array (Shift register). If the pre-determined time delay is reached (say 5 seconds) the values are averaged and written to a Queue with a defined data type. Save the VI as a VI template.
2) Make a VI which starts an instance of this template VI for every channel you require. You can use VI Server to set values on the new front panel before you set it's property to "running". Setting a timer value for all can help ensure that the X-Axis of your timing values (if you require) are synchronised. The clue here is to define and initiate a QUEUE per channel. (RS-232_1, RS-232_2 and so on). The QUEUE name needs to be passed to the VI Template before running so that each VI running in the background has an individual link to the main program.
The second part of this VI simply uses an array of QUEUES, polling them one after another with a timeout of, say 5 ms. If data is found, append accordingly to an XY-Graph.
I also add in some "Auto termination" in the VI template (MAx number of values allowed in the QUEUE for example) to allow for the background processes to find out if the front-VI is still running or not. There are many different ways to do this, shoose the best for your application.
With this approach, it's not even important what instrument is connected as long as data is written in a specified format into a known QUEUE. I have also developed systems where I can transparently (almost) drop in VI Templates for instruments with similar functionality (output data) from different suppliers.
I would post an example, but the time it would take me to clean it up is too large. Sorry. If you have any further questions, don't hesitate to ask further questions.
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2) -
Hi, I don't know how to find a specific security patch to apply to my Oracle database version 11.2.0.2.0 (on windows server 2003 32 bits) to fix the following vulnerability:
Risk: High
Application: oracle_tnslsnr
Port: 1521
Protocol: tcp
Synopsis:
It is possible to register with a remote Oracle TNS listener.
Description:
The remote Oracle TNS listener allows service registration from a remote host. An attacker can exploit this issue to divert data from a
legitimate database server or client to an attacker-specified system.
Successful exploits will allow the attacker to manipulate database instances, potentially facilitating man-in-the-middle, sessionhijacking,
or denial of service attacks on a legitimate database server.
Solution:
Apply the work-around in Oracle's advisory.
Thank you for your help2835604 wrote:
Hi, I don't know how to find a specific security patch to apply to my Oracle database version 11.2.0.2.0 (on windows server 2003 32 bits) to fix the following vulnerability:
Risk: High
Application: oracle_tnslsnr
Port: 1521
Protocol: tcp
Synopsis:
It is possible to register with a remote Oracle TNS listener.
Description:
The remote Oracle TNS listener allows service registration from a remote host. An attacker can exploit this issue to divert data from a
legitimate database server or client to an attacker-specified system.
Successful exploits will allow the attacker to manipulate database instances, potentially facilitating man-in-the-middle, sessionhijacking,
or denial of service attacks on a legitimate database server.
Solution:
Apply the work-around in Oracle's advisory.
Thank you for your help
that sounds like the "tns poison" vulnerability. CVE 2012-1675 - Oracle Security Alert CVE-2012-1675
See MOS note 134083.1 and 1453883.1 -
I want to make a purchase in apple store but they ask me to have 3letters in the name of my county (select province). All choices are only in 2 letters like KL,SL... I don't know how can I do. Please
What country did you specify?
-
I am confused as to how to connect my external start botton. I would like it to function like a start button on a front panel of a VI. I would like to use the +5V on pin 14 but I really don't know where to go from here. Any guidence for a novice would be most appreciated.
phod,
This is the LabVIEW Real-Time forum, so I suggest that in the future that you post this type of question to the Multifunction DAQ forum.
For the simplest solution you will have to connect your button to a digital line of your board, consult the sc-2345 user manual for a diagram of where these lines are exposed. You will have to connect your start button in series with a line that is high, such as your 5V pin or another digital line. Then connect this to a digital line that will be your start trigger.
Your program can poll the digital line that is connected to your button in a while loop and when it goes high, it lets the rest of the program execute. For the programming, I suggest you take a look at the shipping examples that come with LabVIEW. If yo
u have LabVIEW 7.0 go to Help>>Find Examples. Open Hardware Input Output>>Traditional DAQ>>Digital Input and Output>>E Series for some examples of digital I/O programming with E-series boards.
Hope that gets you started.
Gerardo -
Don't know how to handle this relationship
I am a college student and am having a hard time wrapping my head around the database I have to work with for a project. The project entails implementing an auto parts application. I have not encountered a relationship like this before. I have linked to a document I made to describe the table. It can be found here: http://91.121.116.152/graph.pdf. There are basically 4 tables in the database. There is 1 table for all the automakers. (MAKER). Then, there are many tables in the form of APL___ where ___ is a column for the MAKER Table. The APL tables contain all the different models and links to the different parts. The column RLINK references RADCRX which contains 16 different columns. Each set of 4 columns contains part numbers that link to a RAD___ (where ___ is a 3 letter abbr for a vendor).
I've done my best to explain it in English, but I think the document may help. Naturally the assignment is to find parts for a specified car. My problem is how do I do this as effciently as possible? I don't know how to handle a relationship where column name points to a table name, not a column in the table. It could be done with a very long join such as
SELECT * FROM RADMOD, RADCRX WHERE RADCRX.MOD1=RADMOD.P_NUMBER
or so on for each column in RADCRX. This doesn't seem right. I thought about doing joins on the tables, but I don't know how to do it. The DB as about 20K records. Does anyone have any insight?Try the ff solution if it works:
1.)Create a union view for APL_ _ _
create or replace view v_APL_ALL as
select a.*,'CHE' m_code from APLCHE a
union all
select b.*,'TOY' m_code from APLTOY b
union all
select b.*,'HON' m_code from APLHON b
union all
select c.*,'MIT' m_code from APLMIT c
2.)Create a view for v_APL_ALL and MAKER
create or replace view v_APL_ALL_MAKER as
select a.*,b.M_NUMBER,b.MAKER
from v_APL_ALL a,MAKER b
where a.m_code=b.m_code
3.)Create view for RAD_ _ _
create or replace view v_RAD_ALL as
select a.*,'ARS' VENDOR_CODE from RADARS a
union all
select b.*,'MOD' VENDOR_CODE from RADMOD b
union all
select c.*,'BEH' VENDOR_CODE from RADBEH c
union all
select c.*,'DAN' VENDOR_CODE from RADDAN c
4.) Create a view for v_RAD_ALL and VENDOR
create or replace view v_RAD_ALL_VENDOR as
select a.*,b.M_NUMBER,b.MAKER
from v_RAD_ALL a,VENDOR b
where a.VENDOR_CODE=b.VENDOR_CODE
You can now join them & query it.
Regards,
Benjie -
New member: My Settings won't stick; I don't know how to create a signature
My Settings won't stick; I don't know how to create a signature
How can I correct these two difficulties please?Sorry, not clear. I meant "My Settings" (top right hand corner of FCE Discussions window), not in FCE itself. The time zone setting is accepted but the next time I look it has reverted to USA GMT-8 hours, and some other settings are similarly affected
and by "signature" I meant some text that always appears at the bottom of Discussions messages, saying somethink like "Mac Pro 2.0 GHz, FCE 3.5" etc. I can't see a place to specify that.
(But now I see something has appeared!)
Thanks.
Message was edited by: Steve Kirk -
Hello,
I updated Xcode 5 to Xcode 6.0.1. It messed up my previous apps and i don't know how to fix it. Is it possible to uninstall Xcode 6 and go back to Xcode 5?I found this solution http://objcsharp.wordpress.com/2014/09/21/how-to-get-back-the-ios-7-sdk-after-up grading-to-xcode-6/
Maybe you are looking for
-
Error getting while activating Write Optimzed DSO
Hi Exerts, I am getting the below error whil i am activation Write Oprtimized DSO Error in global conversion rule for InfoObject ZGSOURSYS ZGSOURSYS--- this is compunding attr of all my char. Thanks in advance
-
Create quotation based on notification
Hello All, Can any one tell me hwo to create quotation based on notification. I know the BAPI's BAPI_QUOTATION_CREATEFROMDATA2 has to be used to create quotation i get diffrent errors like 1) in sufficient parameters 2) Sales document was not change
-
Cannot select name when creating new DC
Hi all, It seems I encounter this kind of problems over and over again when dealing with NWDI )-: In this thread Cannot select vendor when creating new DC I couldn't select vendor. I installed a new NWDI system (version is 7.18), did all the post ins
-
hi all, we have a very simple requirement. A pdf file resides on the server. We want to have a link inside the jsp page, so when the user clicks the link the pdf file opens inside the browser. Using pure html the simple code is: <a href = "/document.
-
Invoiceing party at header level in MIRO
Hi, We have different invoicing parties defined for the same vendor at the plant level in Alternative Data. But, the invoicing party in MIRO is at the header level. When we do MIRO by vendor, it does pull in all the POs but those POs have different I