Virtual serial port: no bytes to the serial port before you read visa
Hi I want to use LabView for data acquisition in real time from my dc servo motors. I'm new to LabView, so I will try to do the same thing with virtual port. I am writing some data (a sinusoidal wave) to the virtual port and can read and display it on the chart. the writing part just works that we see in the hyper terminal. but he's not reading anything. the number of bytes to port is zero. I tried to put the number of bytes in visa read manually, but it does not work. I have attached my code below. any comment is appreciated. Thanks in advance
This is just the basics of how communication works series. To do a reading without any instrument, you loopback (short) the transmission line to the receiving line. For a connector 9 pins, you short-circuit pins 2 and 3. If you have not done this, I do not understand where you thought you could do a reading of.
In any case, if you have servos that are controllable of RS - 232, it isn't likely that the series is even close to what you do a closure won't tell you much more that the converter is functional. When you have a real instrument connected, you still need to debug settings com (baud, parity, handshake), type of cable (null-modem or directly through) and the actual orders that you send to the instrument and its answers.
Tags: NI Hardware
Similar Questions
-
where can I find the chassis for the import file in MAX to draw the circuit diagram before you buy
where can I find the chassis for the import file in MAX to draw the circuit diagram before you buy
chassis: NI SMU-1078
ini file to import into MAX
See attachment
THX
Hi again Koen,
Unfortunately, you can't simulate a complete PXI system, so we do not have the ability to simulate a PXI controller unit. The simulation, you can do is to set up the cards you want to use in you.
concerning
Lars -
Hi there, bit of a newcomer to this, trying to teach some aspects of digital Editions and find my way through. How do I access the content viewer for preview of the interactive features before you build a custom Viewer?
Download from the Marketplace for your device (iTunes, Google Play, Windows Store).
You might find our useful post learning resources: https://forums.adobe.com/thread/994742.
Neil
-
what I have to write the serial number. before you download a driver for my printer?
What is the serial number helped and I have to write down it before you download a driver for my printer?
I have my printer and I want to download the driver that is related to my printer, I searched but did not find where I can write the serial number to reduce the possibilities of the wrong driver.
There were also 3 options after that I named my printer:
1. HP Officejet 4500 all-in-One Printer - G510g
2. HP Officejet 4500 all-in-One printer - G510a
3. HP Officejet 4500 Wireless all-in-One Printer - G510n
I don't know what I should choose.
Best regards
So, you can use the Installation Wizard of HP printer if your using Windows 7, 8 or 8.1.
If you have any of the above operating systems, connect the printer to your PC via the USB port or connect it to your network.
Then run the next tool that will detect your connected printer and download the correct driver for it:
If you have any other operating system, please specify your printer model exactly as shown previously.
Kind regards
Shlomi
-
How to force you to update to the date entry before you validate a text field?
I have this code:
Custom blur for txtWeekEndingDate script
(function () {}
var weekEnding = new Date (event.value);
day of week var = new Array (7);
day of week [0] = 'Sunday ';
day of week [1] = "Monday";
day of week [2] = "Tuesday";
day of week [3] = "Wednesday";
day of week [4] = "Thursday";
day of week [5] = "Friday";
day of week [6] = "Saturday";
var dayOfWeek = weekday [weekEnding.getDay ()];
var strWeekEnding = weekEnding.toLocaleDateString ();
Do nothing if the field is empty
If (! event.target.value) return;
If the value is not a valid email address...
If (dayOfWeek! = 'Sunday') {}
.. .that the user knows that the value is not a valid end date of week...
App.Alert ({CMSG: "you entered, '" + strWeekEnding + "". ""}) Please enter a date on Sunday. ', nIcon:3, nType:0, cTitle:this.documentFileName});
.. .and set the focus on this field
event.target.setFocus ();
} / / endif dayOfWeek! = "Sunday".
})();
The problem is that if the user enters something like "1/1" in the input box (which has a date format defined in the properties of the text box in the "mm/dd/yyyy') it sets the variable weekEnding to"undefined ". Without the validation script, it properly changes the date "01/01/2013", but it seems that this change occurs after the execution of script OnBlur. How can I force the update occur before the script is run?
When an entry of "1/1" gets converted to "01/01/2013", it is only for what is displayed in the field. " The value of the underlying field remains on "1/1". The point is the value of the field does not change, just what is displayed in the field. This means that there is no direct method to get the text that is displayed.
You can add a custom script to Validate that changes a value entry of "1/1" to "01/01/2013".» Then, you would get just the value of the field to recover. If you want more help with this approach, after once again.
-
You will need to confirm Serial Key before you download product reseller CS6.
After the purchase, I found questionable comments about dealer. (I know not. The initial search does not been enough depth.) Payment went through. How to check before the Serial Key download, in which case it is a fraud? I can countermand of payment. They produced will not be officially registered up to 45 days.
Hi smmg3,
Volume licenses products can never be able to register under accounts Adobe. Volume Licensing products will be already deployed to your e-mail address after the purchase of the product. So to confirm if the serial number is deployed to your account, it is advisable to contact our Customer Service team.
http://helpx.Adobe.com/contact.html
Kind regards
Fatiha
-
Unable to replicate the frations seconds when you read a timestamp to a binary file
I use LabVIEW to collect packets of data structured in the following way:
cluster containing:
DT - single-precision floating-point number
timestamp - initial period
Table 2D-single - data
Once all the data are collected table of clusters (above) is flattened to a string and written to a text file.
I try to read binary data in another program under development in c#. I have no problem reading everything execpt the time stamp. It is my understanding that LabVIEW store timestamps as 2 unsigned 8-byte integer. The first integer is the whole number of seconds since January 1, 1904, 12: 00, and the second represents the fractional part of the seconds elapsed. However, when I read this information in and convert the binary into decimal, the whole number of seconds are correct, but the fractional part is not the same as that displayed by LabVIEW.
Example:
Hex stored in the binary file that represents the timestamp: 00000000CC48115A23CDE80000000000
Time displayed in LabVIEW: 8:51:38.139 08/08/2012
Timestamp converted an Extended floating-point number in labview: 3427275098.139861
Timestamp binary converted into a decimal number to floating-point in c#: 3427275098.2579973248250806272
Binary timestamp converted to a DateTime in c#: 8:51:38.257 08/08/2012
Anyone know why there is a difference? What causes the difference?
http://www.NI.com/white-paper/7900/en
The least significant 64 bits should be interpreted as a 64-bit unsigned integer. It represents the number of 2-64 seconds after the whole seconds specified in the most significant 64-bits. Each tick of this integer represents 0.05421010862427522170... attoseconds.
If we multiply the fractional part of the value (2579973248250806272) by 2-64 so I think that you have the correct time stamp in C.
-
screen is locked automatically after a certain time of inactivity, but I want to do it manually and instantly, like on your old phone (I think it's menu + * or something).
Hi Quentin,.
To lock the screen, press the power button once.
Please use Firefox OS!
Kind regards
Michelle -
How to save the book Photo and the current format before you create a new
I want to discover a new book and format using the same photos (than my current one) - I'll lose the current if I choose the size and the Format change?
I lose the current if I choose the size and the Format change?
Yes. The old book will be lost.
Make a duplicate of your book and try the other themes on the copy.
Switch to another theme can reformat a few pages, this text may be lost.
CTRL-click on the book in the library of Inspector in the sidebar and click "duplicate".
-
Hello
I am currently building a project created to 8.2 and now updated in 2013 (and working) for 2013.
During the generation, labview gives me the message that I paste into the subject of this message.
I join snapshot of the windows that appear during the construction process.
I tried the solution already available on this forum as remove password in the build properties.
So far, I'm stuck.
Any idea?
Thank you
Hello
Thanks for your reply.
Certainly the passage from 8.2 to 2013 was too aggressive.
The solution came from re - create a build process from scratch in respect of the same project.
No more errors after that.
Learned Lessosn: do not try to generate a dll directly after the update of your project from an earlier version of Labview.
This topic is then closed
-
Windows cannot find back to the top before you reinstall Visa Business x 32.
As I had problems with windows, the decision was made to reinstall Vista Business x 32; has SP2. Before that, I did a return upwards using the windows towards the high utility (I had done this for the last 18 months). I can find the back of the files on the external hard drive (PC name, backup set of 1st registration, I've done the reverse and then the following dates that I saved the last date with 12.8 GB). I get the message that it is not save ti available use. I tried to use the method advanced and always impossible to get anything. I tried to boot in safe mode and got the message that this operation was not available in safe mode. The problems that I had with windows has been fixed with the resettlement, but I would really like to get my files back.
Thanks in advance.
Here is an article on the restore procedure: http://www.vista4beginners.com/How-to-restore-files to make sure you do this right. It's a selective restore of a full or selective backup (not a full restore from a full backup) - but since you did a full backup, it matches your process more closely than would a full restore.
This is a GREAT article on the backup and restore processes in Vista http://technet.microsoft.com/en-us/magazine/2007.09.backup.aspx , but he won't go into detail about the restoration process - considering almost as easy, of course. But it teaches you a lot about what is possible and how to do it.
Here is an article on the advanced use of restoration (during normal restore does not work): http://www.mayankraichura.com/post/2009/08/06/Avdvanced-Restore-via-Windows-Vista-Backup-and-Restore-Center.aspx.
I also found the following (but don't know if it of true or not):
1. after the start of "backup and Restore Center."
2. I chose "Advanced Restore"
3. I was did not an administrator password... maybe because my account is an administrator account.
4 choose "files from a backup made on a different computer.
5. in the dialog box indicating "Select the location of the backup to restore", select "hard drive, CD or DVD...". »
6. under the drop-down list box, select your drive/partition and continue
7. If all the backups on your drive, it will show a list of them.
8. in my case, he showed a backup, but in the backup location, it will show "backup location is not available."
9. I was frustrated, but then I somehow just select this backup (Yes... even if he said that the backup location is not available " ")
10. and you press "next".
11 guess what... no error!
12. a window appeared asking me if I wanted to do a full restore, or I want to select specific folders or files.
13. I selected the folders I wanted to restore and bingo... it their restored smoothly.
14. so that the next time see a mistake, try to continue with him... ;)
I don't know if this will help, but it does not provide much information about the process (when it works). I hope you find any error or discrepancy in your procedure and it will clear up and allow you to restore.
I hope this helps. If this isn't the case after back and we're going to try something else. It may have something to do with permissions or the files there and we will discuss these options (and perhaps other institutions).
Good luck! Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
I had a very unusual event this morning. I am running Windows 7 on a desktop computer. On startup, I reached the login screen and proceeded to connect to my name. Prior to loading the desktop computer, however, I was in a black screen with the cursor visible.
1. I am able to load successfully under another user ID.
2. I am able to boot in safe mode (with networking) using my own code.
3. I did a system restore with no luck. The problem persists.
4. I don't think it's a driver issue because it would affect the two IDS and who does not.
5. I have a touch screen and the white slider moves even in the place where I touch. (what works)Issues related to the:
1. what "custom" setting would result in a shift of the display of this type?
2. If I go to Windows 8, will I have the opportunity to 'reset' my display options? Or it will automatically upgrade to the wrong setting?
Thank you. Any guidance would be greatly appreciated.
Thank you for your solution.
The problem turned out to be the result of a combination of events.
1. I did a change of media display a week ago but never restarted.
2 MS did the periodic security update that rebooted the machine overnight.
3. the update may have actually been in the middle of the installation when I got to my machine in the morning.
4. when the screen has not responded, I restarted manually by pressing the power button.Ultimately, I was able to access Task Manager and found several instances of several components running. When I "force stop" several of them, the office completed and I was in business.
I still have the wide black border around my 'Live TV' screen in Windows Media Center, but that's another question for another time.
Once again, thank you for the time spent to help me.
Best regards
Steve
-
How to read the Serial Arduino data using labview VISA?
Hi =). Im a beginner work reading data series from an arduino but im facing... Lets do it step by step
I built a voltage divider circuit which gives from output
from 0 to 5V. The output of this circuit is sent to a 0 analog input pin
of a Committee of Arduino Duemilanove.(1) Firstly, I connected the cable to connect to my laptop USB the Arduino.
(2) I went to start-> control
Control Panel-> system-> hardware-> Device Manager. Check the Ports (COM
& LPT). In my laptop I can see USB Serial Port (COM4). Now I know only in
LabVIEW that I must read the data series COM 4.(3) to the side of the arduino, here's the code to read changes in voltage
entered to analog pin 0. The last line of 'delay' determines the sampling
Rate of how we want to taste the output of the voltage divider:int potPin = 0; Select the input pin for the output of the voltage divider
int val = 0; variable to store the value from the probevoid setup()
{
Serial.begin(9600) (9600); Opens the serial port, establishes the rate of 9600 bps data
}void loop() {}
Val = analogRead (potPin); read the value of the voltage divider
Serial.println (Val);
Delay (10);
}I slightly modified the basis series reading writing VI... I have
attached the block schema used with comments. Basically, I tried to read
data series, divide by 1023 and multiply by 5 to graphic voltage
variations of the voltage divider circuit. But Im not getting
the correct voltage output values. The value of the tension just keeps go
0 and coming again, as shown in the photo.Could you guys please guide me on what went wrong?
Thank you!
-you read the data, even if there is no data on the port. If 0 bytes are read => «»
-in the case of false, you resources VISA wired for the output of channel tunnel?
-There is no close VISA at the end of the VI resources
-you're not a loop this VI reading bytes
I added an addaption of your VI that you should give a try maybe
-
Remove the hard drive before sending for maintenance?
Hi all, I'm somewhat new, so I hope that people can help me with this.
My T400 mother board seems to be dead, which means I can't use the laptop at all. I called Lenovo service center and they told me to post my laptop for them (my warranty is still valid).
However, I realized later that it was the small matter of trust all my data for them, so I called again to ask. A different operator recommended that I have remove all the hard drive before you post the phone for them. That's what I intend to do, but I forgot to ask if it was OK to remove the disk hard when there is a motherboard problem.
Is it?
No it will work as it did you do not have to do anything, it will have the same serial number of the system but have different material serial number
-
Original title: search Windows 4
With Windows Search 4, the program active at the log on before you can use the start menu. Several search screens occur and reproduce when they are closed. Sometimes it's impossible to open an Office, research childcare opening application.
Hi Ken_978,
· How long have you been faced with this problem?
· Did you do changes on the computer before the show?
· The question is only limited to Office applications?
· What exactly happens when you try to open an Office application? You receive an error message?
Follow the suggestions below for a possible solution:
Method 1: I suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malware
The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.
Important: While running scan on the hard drive if bad sectors are found on the hard drive when scanning try to repair this area if all available on which data may be lost.
Method 2: If this does not help then you can uninstall and reinstall Windows search 4.0 on the computer.
Follow the steps below to uninstall:
a. click on Start
b. click Control Panel
c. select Add / Remove Program
d. place a check on "Show updates"
e. you will see Windows Desktop Search 4.0 and uninstall it.
Reinstall back, you can see the link below:
http://www.Microsoft.com/Windows/products/winfamily/desktopsearch/choose/windowssearch4.mspx
Hope this information helps.
Maybe you are looking for
-
Skype does not recognize the built-in webcam
Hello world hope someone can help me. I used Skype with no problems until today. Skype does not have a webcam built-in to my probook 4330 s with Windows 7 more. I'm sure that the webcam works just because I tried with other applications. I tried agai
-
Satellite C850-1NU - SSD upgrade
I was wondering,I want to put an SSD in my Tosh. Please could someone send me a link to one that adapts, and and how they are easy to set up?Thank you
-
Where are the patch installers?
Building a deployment and application tool where the installer 2010 f2 and NI TestStand 4.2.1 Patch Installer 236982. I ran all the patches when I updated for Developer Suite 2010 but have no idea where he put them. And they are not in C:\Documents a
-
How can I get a copy of the file \system32\hal.dll. ?
-
My cursor Touchpad stop working.
I have Toshiba laptop, Satellite C-650-01W. Cursor Touchpad stop working. How to get back to work?