Jump to content

Khalid

Members
  • Posts

    160
  • Joined

  • Last visited

Posts posted by Khalid

  1. LV Punk said it very well about Alfa's posts:

    It's sort of like rubbernecking at a car accident on the highway; you know you should just move along but you can't help but look.
  2. why people from India in Toronto are wearing hats with the Canadian flag on it?

    Hmm.. maybe because they like Canada and like to show it? (unlike some who stay there -- sometimes doing nothing and living off welfare -- and still b*tch about Canada)

    -Khalid

    PS: Or, they might just be having a bad hair day?

  3. Because I wrote a book and I need a Book publishing support; because the dummies from the Canadian government didn't write books they don't know if it is such program.

    Here's something that might help you...

    0471799521.jpg

    Sorry, didn't see any non-dummies version...

    -Khalid

  4. Looks like inteligent people don't deseve a job in Canada.

    Personally, I rather be happily-employed... especially, if you are assuming people like you as being intelligent.

    I spoke again on DDTV channel in Romania about my book and they were so impressed they told me when I

  5. Okay, here is the initial code. As I said, it is ugly, a hack and very minimal, but it gets the ball rolling and gets it out of my hands.

    [clip]

    :star: Enhancements:

    1. Get All VIs and use to populate a listbox or menu of VIs as an option vs the file path of a VI.

    2. Put this ugly hack into a proper queued state machine, ready to add lots of goodies to.

    3. Look up a list of custom probes and populate another listbox on the front of Probe Table, and select from there for the desired probe type.

    4. Even better: detect the type of wire, decode, and assign correct probe type(s) automatically.

    5. All the enhancements from my list above

    6. Timestamp the stuff in the probes.

    7. Only have the universal probe update its front panel tree if the data changes

    8. Logging, configuration save/restore - I know I said it above, but this is really important.

    :clock: Anybody got a little time to add a few features?

    :beer: Cheers

    Hi Michael,

    This is an excellent idea, and a great first-jab at it. I was wondering if you (or anybody else) had a chance to work on this more. I would like to make some modifications and wanted to start-off with the latest version.

    Thank you,

    -Khalid

  6. BTW, I have did some probes project, for debugging applications, using Queries. It is working fine, have "console" debuging window, and works in DevSys as well in RunTime.. i had posted it in OpenG, but nobody was interested. Does someone will want to look at it? Works in LV6.1 too.

    /PB

    I downloaded this LVDEBUG utility. It's an interesting way to monitor data in real time.

    I was however wondering what was the original intent of this utility as far as the DEBUG versus RELEASE builds go. I am guessing we don't want the data to get queued-up in the RELEASE mode; but to keep the VIs from breaking, we replace them with their RELEASE versions. Am I right here?

    If so, then the DEBUG_TX_R.LLB should only have dummy VIs; but it appears to have the same exact VIs as the DEBUG mode i.e., the Queues, etc. So, even in the RELEASE mode we are queuing up the info' (-- but just not displaying it since the DEBUG_RX_R.LLB only has a dummy VI). Shouldn't we also have dummy VIs for all the VIs in the DEBUG_TX_R.LLB as well?

    I have also emailed proximableu directly.

    Any input/ideas on this would be much appreciated.

    -Khalid

  7. has anyone been able to call a DLL from LabVIEW RT that makes a call to the WIN32 API?

    Hi Eric,

    You should be able to make Win32 API calls on Phar Lap RT. Here's a quote from their website:

    "Because ETS was designed as a Win32 API compliant operating system, all the standard Windows conventions are maintained. This includes APIs, memory management, mutexes and semaphores that Windows developers are accustomed to using." [Link]

    To confirm this, I just successfully ran -- targeted to my cFP -- VIs with the following Win32 calls:

    GetLogicalDriveStringsA

    GetSystemDirectoryA

    GetSystemTime

    GetTimeZoneInformation

    GetEnvironmentVariableA

    Coincidentally, all are from the kernel32.dll.

    Regards,

    -Khalid

  8. Example of a function of the DLL

    ADAM5KTCP_SendReceive5KTCPCmd (char szIP [], char szSendToTCP [], char szReceiveFromTCP [], char szModbusSend [], char szModbusReceive [])

    Couldn't help but notice the "Modbus" in the function definition. Maybe you can find out if this device talks Modbus. There are Modbus VIs available from NI for free download (though their quality isn't the best).

    -Khalid

  9. I am new to Labview and working in an air-conditioning test lab.

    I am looking for a labview *.vi that can capture temperature data from fieldpoint and display on a chart (temp vs. time).

    Although I know this is simple, but is there any kind people that are willing to share?

    Check out the following example:

    examples\FieldPoint\Applications\Temperature Measurement.vi

    You can use this as a starting point for the FieldPoint part. Then, look at some examples on graphing data in labVIEW:

    examples\general\graphs

    And you should be all set to develop your own application.

    Let us know if run into any specific issues.

    -Khalid

  10. Here's another variation: I have used a Cluster of numeric controls (restricted to 0 and 1 values only) and the KeyFocus property to get the "autotabbing." Run the VI and start typing the 0s and 1s. The last entry (7th bit) will output the final array of values entered.

    :!: NOTE: Run this VI by clicking on the Run arrow on the toolbar, and NOT by hitting Ctrl+r. Ctrl+r seems to trigger the KeyUp events! This behaviour can be fixed by filtering "Menu" keys (i.e., Ctrl) using the 'Mods' output in the Event structure. This is left as an exercise for the students :P

    Regards,

    -Khalid

    Download File:post-311-1140852807.vi

  11. Thanks for pointing these out. They seem very promising for quick tasks and small utilities.

    Any idea how these scripts work? Do they turn around and call VBScript, or Windows API, or something even lower-level?

    Just curious...

    -Khalid

  12. ECM, in the automotive industry, stands for Electronic Control Module.

    "Electronic Control Modules are subsystems consisting of CPUs and assorted signal inputs and outputs dedicated to controlling a component within the vehicle. They range in complexity from an Engine Control Unit which handles the logic for managing the power-train system efficiency, to an Anti-lock Braking (ABS) Control unit that monitors vehicle speed and brake fluid, to a simple body module that controls the automatic door locks or power windows. In many cases, these modules communicate to each other through such protocols as CAN, LIN, J1850, and J1959. The NI Automotive Test Platform provides a flexible and scaleable test architecture that meets these technical requirements in a cost-effective manner, throughout the product lifecycle, from design validation through manufacturing and service."

    Source:

    http://www.ni.com/automotive/ecu.htm

×
×
  • Create New...

Important Information

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