How do I set a PFI to High on a 6602 Board with DAQ Traditional
Dear All,
I am using LabVIEW 8.5 on 32-bit Windows XP with an NI 6602 DAQ board. In the past I've used DAQmx but for compatability with older software I need to do a few simple things using Traditional DAQ, which I have never used. Specifically I would like to make a simple VI that sets PFI 5 to high when the user presses a button and then low when they press the button a second time. How do I set PFI 5 for output and then write true to it?
Thanks,
Ed
Solved!
Go to Solution.
Dear All,
Apparently its as simple as using the Write to Digital Line VI. However, the non obvious thing is the port width of the 6602 board is 32 not the default 8. Buried in the LabVIEW help files is a list of physical port widths that one must stumble upon. Like the bat cave. In the attached image of the super simple VI I've made the 16 refers to PFI 16. Good to know.
Best,
Ed
Attachments:
write_low.JPG 5 KB
Similar Messages
-
How do I connect and detect a high frquency pulse (0-3500hz) with a variable pulse voltage (0v low,5-10v high), on a SC-2345 connected to a PCI-6224? Labview doesn't generate a waveform if I try to graph the signal, and my analog input doesn'y recognize that the signal is even pulsing, only that it has a voltage. Some advice would be much appreciated.
Thanks in advance,
GarrettHi Garrett,
It sounds like you want to do Frequency Measurements of a signal that is somewhat digital.
There are two ways you can really do this:
Wire your signal to the counter input and use the Digital Frequency examples (Help > Find Examples > Browse > Hardware Input and Output > DAQmx > Counter Measurements > Digital Frequency)
Continue taking analog measurements and use some sort of logic to determine where you are getting rising and falling edges.
I would recommend doing method #1, but you must determine which one is the best for your system.
If you want to connect to the counter pins then you will find the
terminals located on the side of your SC-2345. If you don't need
to condition your signals then simply wire everything into the proper
pins for your counter (below).
Default NI-DAQmx Counter Terminals (Connector 0)
Terminal
Counter Context (Default)
Motion Encoder Context
Signal Name
37
CTR 0 SRC
CTR 0 A
PFI 8
3
CTR 0 GATE
CTR 0 Z
PFI 9
45
CTR 0 AUX
CTR 0 B
PFI 10
2
CTR 0 OUT
PFI 12
42
CTR 1 SRC
CTR 1 A
PFI 3
41
CTR 1 GATE
CTR 1 Z
PFI 4
46
CTR 1 AUX
CTR 1 B
PFI 11
40
CTR 1 OUT
PFI 13
Otis
Training and Certification
Product Support Engineer
National Instruments -
help, how do I set up an icloud account on my macbook pro with 10.6.8 — all it has is "mobile me" under internet and wireless on my system doc????
You should check that your Mac meets the requirements for upgrading.
The requirements for Lion are:
Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
2GB of memory
OS X v10.6.6 or later (v10.6.8 recommended)
7GB of available space
To purchase it you will have to ring Apple at the number given at the bottom left of this page.
The requirements for Mountain Lion are listed here:
http://www.apple.com/osx/specs/
It is available from the Mac App Store (in Applications).
You should be aware that PPC programs (such as AppleWorks) will not run on Lion or above; and some other applications may not be compatible - there is a useful compatibility checklist at http://roaringapps.com/apps:table -
How do you set up usb device (remote for ppt) to work with iPad2
How do you set up a USB Device (a remote) to work with an iPad 2? I have the digital camera connector but when I plug the remote in, the device is not recognizable. We are trying to run a slideshow on the iPad using the remote to advance the slides. Thus, the viewer does not have to swipe to advance to the next slide.
...I have the digital camera connector...
Simple answer: no, you can't use that remote with the iPad.
The Camera Connection Kit (CCK) is only for importing pictures. It is not a general purpose USB port so will not work with just any USB device, other than cameras and USB flash drives (but only to import pictures.) -
how do i set text in a object so that object expands with text and has even space on both sides of the object in illustrator cc?
if you see all the different panel. I past the info in and have to manually expand the width of every panel. Is there a way of pasting the text in and the panel moves to the right with so that there is an even space on both sides of the blue panel?
-
How do I set up my Imac after adding a SSD along with my existing HD
How do I set up my Imac after adding a SSD so that my system and apps are on the SSD and everything else is on the HD? I am using mountain Lion. I want to make sure I can still do Time Machine backups.
I was planning on first formatting the SSD and then using Migration Assistant to copy the System and the Library and the Apps over. Where it gets confusing is the User account where some of the items will be on the SSD but I want all my folders to be on the HD. Do I just not copy over that other stuff and once I restart from the SSD it will know where all the folders are? Is there anything I need to know about setting up a time machine backup after that? Will the backup I had from the one drive have to be erased and start a whole new backup?
I just want to do this right so I don't have some major problems.
Thanks for any help.
Michaeltime machine backed up your whole system data/everything in time machine hdd.
you want to use ssd over hdd so you need to put new mac os x in ssd.
then copy all the stuff that you want to put in ssd.
from my point of view put the mac os x and other application in ssd and leave other data in hdd.(music,movies,etc....)
more info about time machine : http://support.apple.com/kb/ht1427 -
how do I set up my airport to make a connection with my Hp? I already have it set up for my mac laptop just not sure how to set it up so that theres also a connection with my Hp
I set up my new HP Descjet 3054A . I had a problem becouse Apple give me CD as a driver. The thing was that CD wasn good for this printer becouse it was old software:) I had to go to Apple store so the specialist had to download me he wright driver. Becouse I didnt wannet to screw this up . When he downloaded driver I fired it up at house and thingworks perfect. The thing is when you download all the software from HP side . Then you have to connect your MAC to printer via USB . Fallow the instructions it should works. Worked for me. Good Luck!
-
How do I set up emails! I am on O2 and with virgin media
How do I set up emails, I am on 02 and with virgin media
emails is a separate service from
Internet and phone service
even if you have those 2 covered you will need to
setup the e-mail service even if it's from the same providers
that bring you internet and or phone service
so the answer to your question comes down to what
e-mail provider you're using and if your setup your ios correctly
to receive and send emails over their network -
How to change/set the browser title from web forms (XP platform with SP2)
I am running Form9i, I have set the browser windows title from Web Forms dynamically by using following method. However, when my PC has changed to XP, the function seems not work. Does anybody have same problem and how to solve it? Any suggestions would be appreciated.
Add the Javascript code to your baseHTML file. For example,
if you are using the basejini.htm:
<HEAD><TITLE>%pageTitle%</TITLE>
<script language="javascript1.2" type="text/javascript1.2">
function Change(a) { document.title=a; } </script>
</HEAD>
In web Forms , call the javascript function with WEB.SHOW_DOCUMENT built.
For Example the following code set the browser title with username . web.show_document('javascript:Change('||'"'|| get_application_property(USERNAME)||'"'||')','_self');
Best Regards,
BowieDear Frank,
Thanks for your reply. Can you tell me in detail which built-in function in Webutil can set value in browser title ?
Btw, is it possible for me to set parameter "separateFrame=True" in formsweb.cfg and set the form window title by using SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,v_msg_string)?
Best Regards,
Bowie -
I have the newest version of i-tunes and cannot for the life of me figure out how to set up home sharing to authorize a new computer! Everything I find on the subject is for older versions of i-tunes. PLEASE HELP. Thanks
Ok I found it. Alt S to get the top navigation menu!
-
I need to set up Profile Manager on a completely closed network that has no Internet access at all. I can sneaker-net files into the network if I need to.
Profile Manager (and Lion Server in general) seems to need outside access to complete setup and I've been unable to find any meaningful answers.
Does anyone any any ideas?
Thanks to allyou could try it without enabling apple push notifications in server
you wont' be able to push out profiles without enabling apple push notification
but users could download them, or you could install manually, e-mail etc -
How do I set the default value to 0 in a property with "money" as the type?
I have an entity with several properties with the "Money" data type. I also have a Money property with a "computed" value that shows the sum of the other money type properties. However, a total will not display if any of the other
fields are left with a null value. Is there way to make the default value set to "0"? I am using c#. Thank you.Mark, there's a very basic .NET method on every nullable object:
GetValueOrDefault
EDIT: Now I see...please avoid duplicating
questions...
To be clear:
Put GetValueOrDefault on every nullable field used inside your 'TotalDue_Compute' sub
You don't need to define 'TotalDue' as Nullable anymore -
Help: How do i set up Raid 0 on a 970a-g46 board
Hello everyone
I have been Building my own computers since 1997. (Remember Windows 3.11 and Dos 6.22 LOL)
but i have never tried to use Raid. i just got 2 SanDisk 128GB SSD drives,
i have read other things on this forum "970A-G46 raid issues"
But everything i have tried has not worked.
when i try to start the computer and hit Ctrl-F. it shows the hard drives. but i can't do anything.
I just don't understand what i am doing. I really would like someone to tell me step by step how to setup a raid 0.
I have a 970A-G46,
AMD FX 8350 eight core processor
MSI R9 280 gaming 3g
8GB memory
Thank you for your timeQuote from: timpw1969 on 16-November-14, 01:19:44
Hello everyone
I have been Building my own computers since 1997. (Remember Windows 3.11 and Dos 6.22 LOL)
but i have never tried to use Raid. i just got 2 SanDisk 128GB SSD drives,
i have read other things on this forum "970A-G46 raid issues"
But everything i have tried has not worked.
when i try to start the computer and hit Ctrl-F. it shows the hard drives. but i can't do anything.
I just don't understand what i am doing. I really would like someone to tell me step by step how to setup a raid 0.
I have a 970A-G46,
AMD FX 8350 eight core processor
MSI R9 280 gaming 3g
8GB memory
Thank you for your time
Glad you were able to do it...I remember my first RAID 0 experiences...It's really funny when I recall the paranoia from folks who'd never done it themselves...like, for instance, the old wives' tail that states that with RAID 0 your odds of drive failure are multiplied 100% by the number of drives you have in the array... "If you lose one drive, you lose it all," etc., which seems to make sense until you consider the fact that if you have just one drive running in SCSI/IDE mode--and it fails--you also "lose it all"... Then there's the "But RAID 0 isn't fault tolerant" myth, which is true but still a myth because normal SCSI/IDE is also not fault tolerant...! The fact is that if you have 2 standard IDE/SCSI drives running compared with 2 drives running in RAID 0, there's no difference at all in the odds of a single drive failing at any time... The drives don't care whether you run them in RAID 0 or IDE, of course, etc. Drives always fail individually--almost never in pairs, of course--and so the odds of a RAID 0 drive failing are exactly the same as they'd be if you weren't running RAID 0 at all.
Anyway, I've included RAID 0 in every build I've done personally since 2004, and the interesting fact is (although mere coincidence) that on those rare occasions when a drive has failed it has not been one of my RAID 0 drives...!... Enjoy! -
How do you set the Poster Frame to display on a webpage with Quicktime Pro?
This is how the embed code is installed in HTML on my webpage. The Poster Frame image will not display when browsing the website in iPhone nor will the image display on the cached 8 image browser window in Google Chrome internet browser. Is there a way to include the poster frame or JPEG image in the embed code?
embed -- start
width="853" height="496" src="htp://example.com/mymovie-Desktop.m4v"
pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime"
embed -- end
Message was edited by: pasokon108Mark, there's a very basic .NET method on every nullable object:
GetValueOrDefault
EDIT: Now I see...please avoid duplicating
questions...
To be clear:
Put GetValueOrDefault on every nullable field used inside your 'TotalDue_Compute' sub
You don't need to define 'TotalDue' as Nullable anymore -
I've decided to just get used to Firefox 29 instead of messing with add-ons and what not to make it look like it used to but one thing that is too ingrained is a favorites/bookmarks sidebar with one click. I just don't like the drop down menu. Is there a way to set the "Bookmarks" button to show the sidebar in one click?
I want the bookmarks sidebar button. This should be a BASIC feature available, not something I need to install an add-on for to revert to some "classic restore". Why is something so straightforward and easy to use considered "classic", and everything has to be hidden and hard to see in this new version? All the colours in the new tabs BTW are are BLUE, and they blend in with the background at the top, you can't see the tab edges - whose bright idea is this?
Maybe you are looking for
-
How to define new item category for mm purchasing document
Hi, pls let me know the path for defining new item categories for MM Purchasing document thanks,
-
Role VN not defined in master record for vendor 1000000465
dear alll, while preparing PO, with one vendor system is giving the below message and when observed the vendor master data,last view vendor partner roles not updated. If i go ahead with the same vendor, after giving tax code, taxes tab not getting op
-
Attach files to a Sales Contract (VA42) using ABAP
Hi Guru´s Hope everybody is doing fine. I have 3 or 4 days trying to find a BAPI or Function Module to attach files to a SAP object, in this case, to a Sales Contract (VA42). This is my first time working in a program to do this. I tried to develop a
-
HI , We have custom applicaton with 4 OA Train Links and and in 3 rd Link we have added Managed Attachment Button( submit Button using personalization ( that is extending /oracle/apps/ak/ucm/axf/webui/ManagedAttachmentButtonRN ) On Clicking Managed A
-
Reloading apps after Lion clean install
I plan to do a clean install of Lion but I am not 100% how I would get all of my apps re-loaded. I have some install disks for some of the apps, so no problem, but I do not have the install disk for others. Can I do a Time Machine back-up of the apps