Jump to content

PhattieM

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

PhattieM's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. QUOTE (normandinf @ Jan 5 2009, 05:05 PM) This is a great idea and will be what I try first. Thanks, I'll let you know how it goes. If the problem persists I will post the code (which I may do anyway). Thanks for the replies! ~Mark
  2. Hello, I am a new LABVIEW user and I am attempting to interface with accelerometer code from a 3rd party vendor. The problem I have is more general than specific and I could not find the correct combination of search terms to find a solution to my problem (I know it is not unique). Basically, the acquisition on all 3-axis occurs within a while loop using a 100 ms delay. I'd like to make this proprietary VI into a subVI. However, when I place the indicator outside of the while loop (or leave it in), set it to an output on the block connecter, and then import it into some simple code I cannot get a continuous reading output. I know I'm missing something basic. I am more than willing to give additional information. Any help would be appreciated. Thanks in advance, Mark
  3. QUOTE (Anders Björk @ Jul 2 2008, 09:18 AM) I'm using 8.5. The fuzzy logic toolbox reads from a file. I don't think the commands I need are supported with Mathscript. I'm looking into the MATLAB node now. Any other ideas? Mark
  4. How do you use the function parameter in a mathscript node?
  5. Can anyone help me retrieve the number of samples that gets set in the Simulate Signal Generator? I use this value elsewhere in the code, and I would prefer not having to update constants all the time. Thanks in advance. Mark
  6. Well after a lot of research I still have not found a way to use the fuzzy logic toolbox by MATLAB in LABVIEW. Essentially I have DAQ and actuators being recieved/controlled in LABVIEW, but I'd like to offload the AI to MATLAB. Is there any simple way to do this? Perhaps a link to previous posts? I thought Simulink could provide my solution but it appears that LABVIEW will create an interface for MATLAB controls. Any other solutions? Thanks in advance, Mark
  7. Well -- I know I'm going to break a lot of hearts but I did not try and get the .dll's to work for too long. Instead I found a .NET wrapper which I could call using the NET interface in LABVIEW. All of the above mentioned solutions do look like they would work, but I did not want to spend too much time on this small part of the project. Thanks for all your help! Mark
  8. Our lab group was provided with a VC++ project solution that builds (with a few warnings) .dll files. However, when these .dll files are built, we cannot access the functions from Labview. Can someone advise us on the additional changes that must be incorporated (step-by-step) in the .dll generation with already existing wrappers? Specifically using Visual Studio 2005? Also, if theres another method of accessing these functions from Labview we'd be glad to hear it. Thanks in advance. Mark
  9. Hello Forum, My research team is working with a robotic arm that provided defunct datasheets and API information. It is our goal to communicate with this robot through LV by importing a .dll file. However, this option is proving difficult because the only information provided was header files and static libraries, no .dll, and no proper method for making one. We attempted to create a wrapper class that would include the .h files, link the static library, and call the functinos directly but we are not Visual Studio saavy enough to determine if this method will work. Does anyone have any input, or a possible methods by which to do this? Also, after performing the above method we came across some documentation that said the robotic arm could be controlled through Python. Does Labview provide a way to externally call Python code? If so it may be worth learning Python to get this thing working. Thanks in advance, Mark
  10. When I retrieve an array of values from a time column, I do 'variant to data' as a string. The string result is some decimal number as a string. I realize that the MS time format is really just a decimal number. Does anyone have any VI's to convert this to a labview time-stamp? Im going to need to convert the time to seconds and add them all together, and a labview time-stamp seems to be the way to do this... I appreciate the help in advance. ~M
  11. I'm looking for free .vi's for report generation. I cannot seem to be able to change graph colors using activeX. Any help such as links to tutorials or free .vi's would be much appreciated. ~M
  12. Hi, Im using the LABSQL vi's and I need major help. I'm attempting to do the following: Check for the existence of a file on the network. If it does not exist, create a blank local database and add a table named 'data'. Then, I recieve the entries as 2 arrays, one as a header column whose indices are inline with the second array's index which holds the value to place in the field. I am working on creating the new table and adding to the table all the header fields (some may be new) and the associated values. I am running into an issue here: When I create a new file I use the default vi's given by labview. I create a db1.mdb file.. Then I attempt to access it with a new connection and open the connection. This I know causes errors, probably because the creation isn't correct. Im also running into problems with adding field names. As the field names sometimes may already exist, and if they do, the value should just be added. And if the field name doesn't exist, the field should be created and the value added. The only possible way to do this, is to probably have error detection, which I am not very good with in labview (Im not used to a visual programming language). So if anyone could give me guidance I'd really appreciate it. I guess I can post the vi but since Im a newbie, its definetly a mess and all my string concatenations etc. are going to be hard to read. Thanks in advance, ~M
×
×
  • Create New...

Important Information

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