Can I get four inputs voltage reading from four sources at a time from NI USB 6009 DAQ
I had a photoquadrant detector with four quadrants . each quadrant have a positive lead. If i connect each lead to the DAQ's a0, a1, a2, a3 terminals and common ground to one of the ground of DAQ. Is it able to read four voltages from four quadrants at a time . And how to take the data through labview. In the manuals it's not shown can you provide me an example program.when i configure daq i'am selecting acquire signals--->analog input--> selecting a0,a1,a2,a3---> then configuring each channel with voltage limits all. then ok. Afetr that on the DAQ VI how can I read these four values. Is it by giving add inputs and put number indicator to each data like that or any other way is there. If you help me it's a kind job
Use the DAQmx Read. Choose a polymorphic case of N channels. It is up to you whether you want multiple samples as a array, multiple samples as waveforms, or single samples. The multiple samples as an array will give you a 2D array, the rows being the channel. The other options will give you an array, an index for each channel.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Similar Messages
-
Get multiple Input/Output Stream from same socket ?
For a better express of my problem i will put my test example
I have those 4 classes
package test;
import...
public class ReaderExecutor extends Thread{
private InputStream in = null;
private static int defaultID = 0;
private int ID = getID();
public ReaderExecutor(InputStream in){
this.in = in;
public void run(){
try {
int c ;
while ((c=in.read())!=-1)
System.out.println("ReaderThread " + this.ID + ":" + c);
catch (IOException e) {
System.out.println("ReaderThread "+this.ID+" stopped !");
private static int getID(){
return defaultID++;
package test;
import...
public class WriterExecuter extends Thread{
OutputStream out = null;
private static boolean odd = true;
private boolean isOdd ;
public WriterExecuter(OutputStream out) {
this.out = out;
isOdd = odd;
odd = !odd;
public void run(){
try{
for (int i = isOdd?1:2;i<10;i+=2){
System.err.println(i);
out.write(i);
}catch(Exception e){
System.out.println("WriterThread stopped !");
package test;
import...
public class Main {
public Main() {
public static void main(String[] args) throws Exception {
try{
ServerSocket ss = new ServerSocket(9090);
System.out.println("Ascult ... ");
Socket client = ss.accept();
new ReaderExecutor(client.getInputStream()).start();
//Thread.sleep(2000);
new ReaderExecutor(client.getInputStream()).start();
}catch (Exception e){
e.printStackTrace();
package test;
import...
public class Main1 {
public Main1() {
public static void main(String[] args) {
try{
Socket s = new Socket("localhost",9090);
WriterExecuter t= null ;
t = new WriterExecuter(s.getOutputStream());
t.start();
t = new WriterExecuter(s.getOutputStream());
t.start();
}catch(Exception e){
e.printStackTrace();
}Now if i run successive Main , Main1 i get this output
Ascult ...
ReaderThread 0:0
ReaderThread 1:0
ReaderThread 0:0
ReaderThread 1:0
ReaderThread 0:0
ReaderThread 1:0
ReaderThread 0:0
ReaderThread 1:0
ReaderThread 0:0
ReaderThread 0 stopped !
ReaderThread 1 stopped !The question is can i get other Input/Output individual streams with a separate logic functionality from the same socket?
From this example it seems i can't :(
Thx
AlexFor what you are trying to do the simplest solution is to have one socket per "stream" that is the way they are designed to be used.
However, you can multiplex multiple stream over a single socket, but you have do the coding yourself or use a solution which does this for you e.g. JMS. (There is no support at the socket level for this) -
On my Mac Pro how can I get voiceover to start reading at a specific point in a document, and then continue on to the next paragraph and so on? Thank you. Ed
Welcome to the Apple family!!!!
How can I cause the VO cursor(box) show-up/start?
Press Control-Option and F5. The F5 key is located on the top row of keys 6th key over. This is a toggling "Keyboard Shortcut" for turning VoiceOver on and off.
How can I move the VO cursor to various sentences or paragraphs of an article and have it start reading ... and perhaps even continue reading on to the next paragraph(s) ... even to the end of the article?
How to read a website with VoiceOver
Step 1: Go to the Website
A quick keyboard shortcut is Command-L. This will jump you up to the address bar. Start typing where you want to go. i.e "www.thewebsite.com"
Step 2: Working with Webpage
VoiceOver will automatically start reading the website. You can pause the speech by hitting the 'Control Button'.
If VoiceOver does not being reading the webpage, then you might have to "Interact" with it. If VoiceOver say "HTML Content" then press Control-Option-Space-Down Arrow to interact with the webpage.
Use Control-Option-Right Arrow to move throught the website. This will speak "EVERYTHING" on the page.
Most website that I've found have their articles labeled as 'Heading'. You can jump from heading to heading, by pressing Control-Option-Shift-H.
If you'd like an itemized alphabetical listing of the site, press Control-Option-I
Press Control-Option-Space on the link or article you want to view.
Step 3. Reading from Top to Bottom
Once you found and clicked on the the article/link, use the same 'Heading' command, Control-Option-Shift-H to find the title.
After finding the title, press Control-Option-A will start reading from the title on.
Note: If there are any other items (ads, pictures, etc) it will read those too.
Tip: You might be able to activate a feature called the 'Reader'. The Reader isolates the article and elimanates the ads The keyboard command is Shift-Command-R. You can also find it in the Menu Bar (Command-Option-M) under the word 'View' then 'Show Reader'.
I am using a MACPro with OSX, probably Mavericks 10.9 (where would I look to see if that is the correct information?)
You can find this information under the 'Apple menu' in the Menu Bar. To access the Menu Bar, press Control-Option-M.
Go to Apple Menu > About This Mac. This will open up another window. Use Control-Option-Right Arrow until you hear 'Version'. If you purchased it brand new from Apple within the last six month, more than likely you have Mavericks.
Recommanded Articles.
AppleVis- Commonly used Keyboard Commands
Chapter 2: Learning VoiceOver Basics
Chapter 6: Browsing the internet
Apple Accessibility Resource Page
The 'Commands Help' Voiceover Menu. Control-Option-H-H. (hit H twice) is my best friend. It's a searchable VoiceOver Menu with most of the VoiceOver command. Example: You are looking for the 'Read Current Paragraph' keyboard command. Press Control-Option-H-H and then type Paragraph. It will then bring up all the commands with the word paragraph. I believe there are three.
As from the Trackpad Commands, I've copied and pasted below from Appendix A: Commands and Gestures
VoiceOver standard gestures
If you’re using a Multi-Touch trackpad, you can use VoiceOver gestures. VoiceOver provides a set of standard gestures for navigating and interacting with items on the screen. You can’t modify this set of gestures.
NOTE:Gestures that don’t mention a specific number of fingers are single-finger gestures.
General
Enable the Trackpad Commander and VoiceOver gestures
VO-Two-finger rotate clockwise
Disable the Trackpad Commander and VoiceOver gestures
VO-Two-finger rotate counterclockwise
Turn the screen curtain on or off
Three-finger triple-tap
Mute or unmute VoiceOver
Three-finger double-tap
Navigation
Force the VoiceOver cursor into a horizontal or vertical line when you drag a finger across the trackpad
Hold down the Shift key and drag a finger horizontally or vertically
Move the VoiceOver cursor to the next item
Flick right
Move the VoiceOver cursor to the previous item
Flick left
Move content or the scroll bar (depending on the Trackpad Commander setting)
Three-finger flick in any direction
Go to the Dock
This gesture moves the VoiceOver cursor to the Dock wherever it’s positioned on the screen
Two-finger double-tap near the bottom of the trackpad
Go to the menu bar
Two-finger double-tap near the top of the trackpad
Open the Application Chooser
Two-finger double-tap on the left side of the trackpad
Open the Window Chooser
Two-finger double-tap on the right side of the trackpad
Jump to another area of the current application
Press Control while touching a finger on the trackpad
Interaction
Speak the item in the VoiceOver cursor or, if there isn’t an item, play a sound effect to indicate a blank area
Touch (includes tap or dragging)
Select an item
Double-tap anywhere on the trackpad
You can also split-tap (touch one finger and then tap with a second finger on the trackpad)
Start interacting with the item in the VoiceOver cursor
Two-finger flick right
Stop interacting with the item in the VoiceOver cursor
Two-finger flick left
Scroll one page up or down
Three-finger flick up or down
Escape (close a menu without making a selection)
Two-finger scrub back and forth
Increase or decrease the value of a slider, splitter, stepper, or other control
Flick up (increase) or flick down (decrease)
Text
Read the current page, starting at the top
Two-finger flick up
Read from the VoiceOver cursor to the end of the current page
Two-finger flick down
Pause or resume speaking
Two-finger tap
Describe what’s in the VoiceOver cursor
Three-finger tap
Change how VoiceOver reads text (by word, line, sentence, or paragraph)
Press the Command key while touching a finger on the trackpad
Rotor
Change the rotor settings
Two-finger rotate
Move to the previous item based on the rotor setting
Flick up
Move to the next item based on the rotor setting
Flick down
To customize other gestures by assigning VoiceOver commands to them, use the Trackpad Commander.
Assigning VoiceOver commands to gestures
If you need a reminder about what a gesture does, press VO-K to start keyboard help, and then use the gesture on the trackpad and listen to the description.
Learning about keys, keyboard shortcuts, and gestures
Sorry lots of information. Enjoy. You -
When I try using Airplay to stream from Amazon Prime it tries to use Apple TV music. How can I get it it stream movies from Amazon Prime?
Welcome to the Apple Community.
Try the following steps, check whether things are working after each step where appropriate, before trying the next.
Restart the Apple TV (Settings > General > Restart).
Restart the Apple TV by removing ALL the cables for 30 seconds.
Restart your router.
Reset the Apple TV (Settings > General > Reset > Reset all settings)
Restore the Apple TV (Settings > General > Reset > Restore) -
Can access Apple TV via airplay, but can't get to internet or iMac from Apple TV
Can access Apple TV via airplay, but can't get to internet or iMac from Apple TV. Whenever I try to put my info in it says to try later. When I test network it says network time has not been set. It has worked previously.
Try the following steps, check whether things are working after each step where appropriate, before trying the next.
Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
Restart the Apple TV (Settings > General > Restart).
Restart the Apple TV by removing ALL the cables for 30 seconds.
Restart your router. (Also try removing it’s power cord for at least 30 seconds)
Restart your mobile device.
If you are still having problems, the following article(s) may help you.
Troubleshooting AirPlay
Troubleshooting Wi-Fi networks and connections
Recommended Wi-Fi settings
Wifi Diagnostic Software (for Mac users)
You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful. -
My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.
I use my iPad to get the address book backed up by iCloud from my iPhone. However, I cannot see the recent new contacts from my iPad. Is there anyway to check the iCloud server to see if my address book backup from my iPhone is still there?
-
I wiped my ipod classic and then my computer crashed, so i no longer have the songs i purchsed from itunes on my ipod or computer! I have a new computer now with itunes installed, can I get the songs purchased previously from itunes somehow?
Yes, you can!(:
STEP 1: Open iTunes
STEP 2: Navigate to the "iTunes Store". It can be found under the "STORE" tab.
STEP 3: On the right side of the store there should be a "Quick Links" Section. Click on the "Purchased" link.
STEP 4: Navigate to the "Music" tab and click on "All Songs". Then at the bottom of the screen there will be a button that says "Download All". Click the button and your songs will be begin downloading!
NOTE: This will only work with songs that you bought from the iTunes store, if you imported them from a CD, you will have to do it again.
NOTE: You can also do this with Apps, Movies, TV Shows, and Books.
NOTE: You may have to sign in with your Apple ID to verify the download.
Hope this helped! Enjoy your music!(: -
How can I change the default pdf reader from the installed (but not yet registered) Adobe Acrobat 9 Pro to Adobe Reader XI? I'm having some hiccups getting Adobe to register the software, but since I set it as the default .pdf reader during setup, things try (and fail) to open in the as yet unregistered software. How can I change it temporariiy to the Acrobat Reader XI that I have installed?
Anubha,
It worked! Thank you so much.
I'd opened file with the 'Open with' feature then clicking Adobe Reader,
but that didn't do it. When I used 'Open with', then 'Choose default
program...', it worked like a charm.
Again, thank you!
Jonathan
On Wed, Mar 18, 2015 at 10:16 PM, Anubha Goel <[email protected]> -
I have photoshop cs3 on a mac powerbook running Os 10.10.2 I am getting a" licensing has stopped working" text box. I can reinstall because I can't get a copy of CS3 from eh website
https://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html
Downloadable installation files available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 13 |12 | 11, 10 | 9, 8, 7
Photoshop Elements: 13 |12 | 11, 10 | 9,8,7
Lightroom: 5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
window using the Lightroom 3 link to see those 'Important Instructions'. -
I have an airport extreme which doesn't come with a straight audio jack on it like the express does. Can I get a converter to go from the dual speaker plugs to usb on the extreme?
Sorry, but no. The only Apple router with an audio output jack is the AirPort Express.
-
I can't get photoshop CS6 to import from my HP scanjet 5590?
I can't get photoshop CS6 to import from my HP scanjet 5590? I have tried plug ins, and reinstally scanner software but it only recognizes my main scanner/printer!
Hello & Welcome to the forums,
but it only recognizes my main scanner/printer!
Does this mean your HP Scanjet 5590 is a 2nd scanner you have on your computer?
Are you able to scan with 5590 on a different application? Is it only Photoshop that is giving you this problem?
Please let us know details about your operating system and its version too.
Do tell us how you're trying to 'import' pictures from your 5590 scanner. -
How can i get my i5 unlocked brought from Dubai(middle east), Now i want to use it in Pakistan(Asia).
<Perosnal information removed by Host>As stated, only the original Cellular provider can unlock the phone. If they charge $250 for doing so, that is their decision. It is YOUR decision to pay that fee or not.
-
How can I get my Aperture library back from the Photos application?
As stated above, How can I get my Aperture library back from the Photos application? I'm not a fan of Photos right now and haven't used iPhoto in years, so that wasn't a loss... I didn't realize when I gave Photo's access to my Aperture library, I was going to lose it...
I want to get it back, any suggestions?
Thanks again!
MacTeacherMNwhat means ..."Once you open the Aperture library back into Aperture..."? What do I need to "klick" in order to getting back my old Aperture Project structure....
-
How can I get help for ADE downloads from the public library. It worked for years and now I am getting error messages. I cannot find any practical help
If you are trying to open the book on a device, try using the latest DL Reader on Android and iOS
https://play.google.com/store/apps/details?id=com.datalogics.dlreader&hl=en -
How can I get the built in apps from iPad 2 to my iPad 1?
How can I get the built in apps from ipad2 to my iPad 1?
Is your iPad 2 running iOS 5.0.1 and your ipad 1 running iOS 4? If this is the case then go through the update process on your iPad 1. All the iPad 2 apps running on iOS 5 that are compatible with the iPad 1 will be put on your iPad 1. Those apps that require a camera will not appear because the iPad 1 does not have a camera.
Maybe you are looking for
-
How can I play my windows-based itunes library on an imac?
Does anyone know of a way that I can transfer my windows-based itunes library to my new imac?
-
Import doesn't work for me on Vista
I am running on Vista. I try to import from a CF card to my Users/John/Pictures directory. Although Lightroom sees my card and the files on it, when I try to do the import I get a dialog box saying "The following files were not imported. Could not co
-
I went to app store to download battle bears royale then I began playing Plants vs Zombies like a boss, but my ipod touch's screen went black (it stills on). What can I do?
-
Hi All, We are into SAP 6 version in IS retail. We are not getting segment wise balance sheet report. we have done the following Document splitting is active. Profit Centers is assigned to Cost centers Segements are assigned to profit Centers unable
-
Hi, I have an issue with my QM Notification WF. This is a custom WF designed by me. Business object is QMSM. The issue is: In my WF, I have a Dialog step assigned to some agent. The step is working fine and the agent assignment is also working fine,