Jump to content

pockey

Members
  • Posts

    47
  • Joined

  • Last visited

    Never

Everything posted by pockey

  1. Thanks a lot for your kind help! I'll check them one by one! Hey, i2dx, do you have English version of your program?? I only know Chinese and English~~~
  2. My computer sound card is : sigmatel high definition audio codec
  3. Hey, my supervisor asks me to find a method to read and record the sound card. Is there any example in LabVIEW to realize this? Thanks in advance!
  4. Thank you, Aristos Queue It's not very often to get the error. Sometimes my computer was shut down abnormally. Then when I turn on my pc and open LabVIEW, the error will be shown.
  5. Oh, Aristos Queue You're right! The "LabVIEW Data" folder is "Read-Only"! However, the property of the folder will change back to "Read-Only" right after I clear the option. I'm the administrator of this computer... And ther're Log files in the folder!! :headbang: The latest one with information shown below: #### #Date: Thu, Mar 22, 2007 10:09:44 AM #OSName: Windows NT #OSVers: 5.1 #AppName: LabVIEW #Version: 8.2 #AppKind: FDS #AppModDate: 07/27/2006 05:08 GMT .\manager\ThEvent.cpp(116) : DWarn: DestroyPlatformEvent failed $Id: //labview/branches/Europa/dev/source/manager/ThEvent.cpp#4 $ 0x004C6D73 - LabVIEW <unknown> + 0 0x00EF060D - LabVIEW <unknown> + 0 0x00EF077B - LabVIEW <unknown> + 0 0x00EE79FD - LabVIEW <unknown> + 0 0x00CE4192 - LabVIEW <unknown> + 0 0x00CE5922 - LabVIEW <unknown> + 0 0x00CE5BE3 - LabVIEW <unknown> + 0 0x00583D68 - LabVIEW <unknown> + 0 0x00F934C4 - LabVIEW <unknown> + 0 0x00FA71CF - LabVIEW <unknown> + 0 0x005F7912 - LabVIEW <unknown> + 0 0x0055FE62 - LabVIEW <unknown> + 0 0x00C47531 - LabVIEW <unknown> + 0 0x00C497C6 - LabVIEW <unknown> + 0 0x004CCB39 - LabVIEW <unknown> + 0 It's too difficult for me to understand.
  6. Thank you, Michael_Aivaliotis, Can you tell me why the path "C:\Documents and Settings\Workstation 2\My Documents\LabVIEW Data\lvfailurelog" doesn't work?
  7. The error is shown below: http://forums.lavag.org/index.php?act=attach&type=post&id=5255 Does that mean I should change the location? But how? And why the current location did not work? Thanks!
  8. Well, my problem has been solved. I have two instruments and I use two GPIB-to-USB cables... Actually, one cable is enough.
  9. I also encounter this problem. However, I'm using "Rohde & Schwarz" SMU200A. I'm using LabVIEW 8.20 and the driver can be downloaded from: http://www.rohde-schwarz.com/WWW/DOWNLOAD....u_lv8_2_4_6.exe The example I used is the RSSMU Getting Started.vi The VISA resource name is right and the connection is good. However, I get the "Timeout error" which is related to the Initialize.vi SubVI.
  10. I do know why there should be two reads.... However, the tests I do show such conclusion.
  11. Oh, the problem has been solved! I add wait time before the second read part and with enough wait time, I could get the desired string now!! http://forums.lavag.org/index.php?act=attach&type=post&id=5091 And now I want to calculate the average of the total 51 hex values, is there such function offered by LabVIEW?
  12. Even I change the Wait time to 1000ms, I still could only get the "c a" in String indicator 2.... With two read parts, I get nothing~~~~
  13. http://forums.lavag.org/index.php?act=attach&type=post&id=5075 The hyperterminal is shown as above. However, I do not understand much about "display type".... I did not use the SubVI in this event so that I can get the string without previous information. And there's nothing shown in String Indicator 2 if I read the COM Port twice. http://forums.lavag.org/index.php?act=attach&type=post&id=5076 But it's strange that if I "Highlight Execution", the hex string what I want will be shown in the String Indicator 2. Why, why, why... I have no idea about "endchar enabled", the SubVI is also attached.
  14. Thank you for your help!! So now I know how to convert the string to an array. However, the first problem is still there...I don't know how to get the exact hex string. http://forums.lavag.org/index.php?act=attach&type=post&id=5071 As shown, I could only get the "c a" command. It seems the hex string value will be received until next Read from the COM Port. http://forums.lavag.org/index.php?act=attach&type=post&id=5072 And if I replace the SubVI with detailed write and read implementation, I still could only get the "c a" in String Indicator 2 http://forums.lavag.org/index.php?act=attach&type=post&id=5073 It's so difficult to get the desired string from the COM Port...... And without the string, I could do nothing:(
  15. Hi, all I'm writing a program to test a board. And the front panel is shown as follows: http://forums.lavag.org/index.php?act=attach&type=post&id=5056 When I click the "Start ADC" button, the computer will send a command to the board and the board will return both the command and hex string with 50 values. As shown "0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE...."(they're the same as a testing) My job now is to take out the 50 values and calculate the average of them. It seems there's a tool called "Hexstring to number", I think I could use it to take every element out(not include the "0x"). However, I could not get the "0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE0xC7CE...." in that button event as shown in the right string indicator. Only the command "c a" was received at that stage. Below is the block diagram of the "Start ADC" event: http://forums.lavag.org/index.php?act=attach&type=post&id=5055 As I did not know how to get the hex string, I could do nothing to get the average value..... Anyone could give me some tips?? Thanks a lot! The original VI is aslo attached.
  16. hi, Ami I use the tool you said to search for the driver, and i find the E4438C, however, i find two drivers with different technologies, and the drivers are for LabVIEW8.0, not for LabVIEW 8.20. What are the technologies "PnP", "PnP Proj"? and differences between them? So could I use the Drivers for LabVIEW 8.0 on LabVIEW 8.20?? It seems no LabVIEW courses in Hong Kong?? And I'm afraid I could not afford the courses as a student trainee ~~~
  17. Thanks, Ami Why I could not find the one you said for Agilent E4438C? In the installed instrument drivers, I could only find Agilent 34401, is it the one for E4438C??? And on the webpage of instrument drivers, http://sine.ni.com/idnetwork/main/p/sn/n25:A.agilent I still could not find the corresponding drivers for E4438C&E4448A... Does that mean there's no such drivers for the two devices? Then how could I get to know them and learn to control them as well??
  18. Hi, everyone! I'm now needing to write a program to control two devices: Agilent E4438C and E4448A. My Supervisor said I can use IVI to try first since it could be run in simulation mode. However, I'm quite new to LabVIEW and only know a little about it. I'm so totally lost... I know I need to find some documentations, examples or specifications to get a rough idea about the implementation of IVI and try some exist examples...However, I do not know where to find such things quickly and helpfully. It's always time-consuming for me to search around the Internet... So could anyone give me some suggestions or recommend some materials to read? Thanks!
  19. I tried again and this time it works! But could I make the scrollbar invisible? I've set the height and width to the same as the called VI, why there is still scrollbars??
  20. Thank you, Omar Mussa I've known how to make a global button to stop the three parallel while loop, however, I still did not know how to implement the SubPanel solution. I place the "Current VI's path" and the VI I want to call is in the same folder as the main VI, so I just put the Sub VI's name in the path, however, the program says it could not find the VI I want to call..... Strange, or something wrong with my "path"???
  21. Thanks, Jeff Plotzke By just copy and paste: if I copy all the components of the front panel, I lost the connections of block diagram if I copy all the components of the block diagram, I could get the original connections, however, the front panel is too strange. The copied front panel is somewhere far away from the original one....It\'s a little bit troublesome, anyway, I\'ve got that. However, I did not know how to make the global \"Stop\" button, the structure of the VIs is shown as below: I want to try the method of SubPanel, however, I also come accross some problem: I want to make "Part 2" as the SubPanel... "Wire the path of the VI whose front panel you want to load to the vi path input of the Open VI Reference function." The above is from \"Loading a Front Panel in a Subpanel Control\" on NI Page, I did not know what is the \"path\"?? Is it the location of the VI in my computer? Such as: \"E:\\Pockey\\job6 - DSP\\SRF24-58RFMTester\\Meas_SINAD_rev1.0.vi\"?? So how could I combine the two VIs together? If I send the final VI to some other user in different folder location, will the program run correctly??
  22. Thanks, rolfk The configuration file is a good idea!! I'll try to figure it out!
  23. Hi, I need to integrate two VIs developed by two people. I need to show both the front panels to user. However, when I open one VI in another one, it is a icon and I could not show the two front panels together. I could only choose the "SubVI Node Setup" and to show the second VI during running. To exchange two front panels is troublesome... Is there a way to copy the whole VI(both front panel and diagram) to another VI? So it will look like a single VI. Well, I still have a problem to stop the two VI at the same time. Thanks!
  24. Yes, martin quite clear, thanks for showing me the method! I use the "Disable" property instead of "Visible" since it may be more suitable in my application.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.