Meet an applescript event in LabView 2009 (Mac OSX) VI

I have a LabView VI that works constantly, acquisition of data at a remote location.  I recently bought a UPS for power cuts, and I would like to be notified by LabView by e-mail that an event has occurred.  Can I have the UPS software run an executable when there is a power failure, so my question is this:

How to run an executable file (preferably AppleScript) and have it trigger an event in LabView 2009?

The main VI is still running, and I would like to respond to an event and send a mail/text to the appropriate personnel, so that they can respond accordingly to the power failure.  In addition, if power failure, I can then stop the experience "smoothly."

It seems that all the pieces have to exist to do this, but I can't find a way to get there.  Thank you in advance, this will make many people happy!

News: Mac OS X 10.5.8, LabView 2009

Hi jumpman Jr,.

When you say that the UPS software may run an executable file, which means that it can run an executable of LabVIEW? If so, you can write a small executable of LabVIEW to send an email to a specified address. In the measurement of the notifying the main VI that is running, you can try to communicate between the executable and the VI using the methods of normal communication of VI at VI, i.e. global variables, functional global variables, shared variable network published, or even tax filers or queues. Then you can safely leave your main VI.

Aaron P

National Instruments

Technical sales engineer

http://www.NI.com/support

Tags: NI Software

Similar Questions

  • OR MAX on LabVIEW for Mac OSX

    Hello everyone,

    I just installed LabVIEW for Mac OSX - but I don't see MAX around like side Windows.

    Maybe it's a stupid question, but where is MAX located?

    Thank you!
    TheLT

    It does not exist.

    The acquisition of data for the Mac software is called DAQmx Base.  Despite the similar name, it is a completely different piece of software.  Watch this link.

    DAQmx Base is the set of screw driver that lets the Mac.  There is no program for Mac comparable to the measurement and Automation Explorer on Windows.

    Lynn

  • LabVIEW 2009 Crash when record for previous

    I'm having a problem when you try to save a VI in LabVIEW 2009 to a previous version of LabVIEW, in this case 8.2, but itseems crashing no matter which version I chose.  I've narrowed the problem down to this:

    If the vi contains a structure of event I get the following error: unrecoverable internal error: 'MemoryManager.cpp', line 547

    If I remove the structure of the event, she records very well.  I even go the error if I create a vacuum vi and drop an empty event on the diagram structure.  No control, no other code.

    Is this a known issue?  Is this a problem with my copy of LV?  Is there a solution?  Removal of the structure of the event in the present application is not an option.

    Thank you

    Rob

    So the solution is to save to LV 8.6, then open in 8.6 and save here to earlier versions.  It works, I have not tried to save 8.6 initially.

    Rob

  • LabVIEW 2009 Build Path problem

    [Cross posted from LAVA]

    I got a code that worked fine on my home PC, when I moved to work, the exe would not build due to errors.

    Return errors are not good to explain the problem

    Until I got this one:

    Look at the path of the error:

    C:\Users\Developer2\Desktop\User group Meeting\LabVIEW 2009 new features\code\02 intermediate\01 build specifications\build file executable application. exe\LabVIEW 2009\vi.lib\addons\_ICON Library\String\_icon_lib_string.llb 9.0\my paths\dist\application

    This path refers to a VI inside of my executable!

    Maybe it's a bigger problem than I first thought

    So my question is:

    If a path inside my building that would be compared to the executable and LabVIEW must resolve, could fail, this process, depending on where the exe is located in a folder hierarchy?

    I guess it could have happened before? but it would be more probable now due to longer paths!

    Cross post solution

  • More high graphics card Possible for early 2009 Mac Pro

    As the title suggests, I have an early 2009 Mac Pro with 12 GB of RAM.

    I want to update my graphics card to something better and I have no idea of what I put in the card. Ideally, I would like to put the last possible graphics card that is compatible for this.

    I don't know what I would look for PCI or PCI - e and what diet I would look for that would support such a computer "arcane".

    Any advice would be greatly appreciated!

    Best wishes

    Sergio

    the 2009 mac 4.1 pro can be upgraded to a number of current spare cards from Nvidia and AMD, but in many cases the cards require custom flashing of the Distributor and custom drivers. You need to buy a card with a distributor of mac because versions "Windows" of these cards will not work out of the box and OS X will not support without 3rd party drivers. This procedure is not recommended by apple that would rather you buy a new mac pro and again I want to say something for $5K, which offers the latest GPU is already 3 years old.

    research on the Web "Mac Pro 4.1 GPU" for more details.

  • Lack of support for early 2009 Mac Pro

    When Apple says that they won't support not early 2009 Mac Pro for Sierra, they mean that they will not correct a problem if one occurs, or do they mean that just cannot run on the computer at all?  I only ask because my Mac Pro is much more powerful than some new laptops that run the upgrade of the OS.

    I upgraded my MP 2009 Sierra yesterday. First you need to update the firmware to that of a 5.1 MP.

    Use these instructions to update the firmware. You need to download the installer

    http://arstechnica.com/Apple/2011/05/firmware-hack-can-transform-a-2009-Mac-Pro-en-a-12-core-monstre /.

  • Why I can't install Mavericks on my 4.1 early 2009 Mac Pro?

    Why I can't install Mavericks on my 4.1 early 2009 Mac Pro?

    The 1 TB with 500 gigs available 10.6.8 drive gives me: "has no requirements.

    What are the requirements?

    W.W.

    Instance of Fore, how much RAM do I need?

    We can keep this up one parameter at a time or you can download and install EtreCheck from http://etrecheck.com/

    Run it and post the report here. Who will give everything with one fell swoop.

  • 2009 mac pro graphics card update

    Looking to see what the new maps are compatible with an Early 2009 Mac pro, seeking to breathe a little more life out of this

    machine.

    The GPU is not extensible. To get the best video performance, you will need to buy a newer Mac.

  • iPhone SE and 2009 Mac Mini server, 2.53 Ghz

    Greeting:

    I help my friend who has recently bought an iPhone SE 64 GB.

    Everything works well, this comes in place, iCloud, connect etc.

    He would like to use Mac to his back upwards and however,.

    When iPhone is connected via brightening cable, 2009 Mac Mini server: 2.53 Ghz, 8 GB ram, (256 + 128) fusion GB SSD Apple/Toshiba.

    Nothing happened - iTune does not see the iPhone.

    I went to 'about this Mac' - nada.

    I unplugged all USB devices - only iPhone was connected, try on all ports USB 5 - nothing.

    I tried 3 different cables - nothing either.

    Just curious if anyone had this problem?

    It was the first time I saw it.  However, it works on my Macbook air to 2013.

    Sam

    Start here:

    If iTunes does not recognize your iPhone, iPad or iPod - Apple Support

    You need iTunes 10.8.5 or later for this version of iTunes.

    He charges?

  • Upgrade my 2009 mac Pro

    I am running OS X El Capitan 10.11.3 version. I'm looking to rank my early 2009 mac pro 2.66 GHz Quad-core 3 X 2 Gb 1066 MHz to a core of 3.33 GHz 12 with a memory of 32 GB at 1333 MHz, I also want to update my video card with output double mini display. Already, I have a 1 TB SSD, is there anything else I can do to improve performance. And how would address this problem.

    Than you

    If you have that 2 GB or RAM, hold off on adding processors up to that increase you the RAM.

    Once you have enough RAM for that Activity Monitor shows green permanently, then look at CPU utilization. If the CPU is not maxed out, you need help with your e/s and faster processor will not make a major improvement except in the compressor.

  • How to make a diagnosis on an early 2009 Mac Pro el capitan running?

    How to make a diagnosis on an early 2009 Mac Pro el capitan running?

    Insert and boot from one of the original installation provided with the Mac disks. She was listed on one of the disks.

    You can download it here and burn a disc. You need to download for your Mac model.

    https://github.com/upekkha/AppleHardwareTest

  • DVD player in early 2009 Mac Pro C2 error pointer support?

    Could someone advise if the DVD player in an early 2009 Mac Pro (HL-DT-ST DVD - RW GH41N) supports C2 error pointers?

    This will help in establishing a ripping program I (XLD)

    Thank you very much.

    Hello

    Quite a novice here, but it appears C2 is perhaps not all that big!

    http://forums.Linn.co.UK/BB/showthread.php?TID=26143

    l-optical-reader-and-xld-thoughts-19494/ http://www.computeraudiophile.com/F8-General-Forum/C2-Error-Pointers-New-externa

    XLD reason will not work?

    https://GigaOM.com/2011/02/04/how-to-preserve-your-music-CD-collection-on-a-Mac/

  • 10 Windows installed successfully on early 2009 Mac Pro Quad but no network detected

    I installed Windows company 81 on my Mac Pro without problem, using the WiFi Edimax EW-7711MAC of OWX adapter, which went very well under 8.1.

    I have upgraded to Windows 10 company, works very well, "sfc / scannow" gave rise to no error, but the card WiFi has only a beta driver 10 to win, and I can't detect all of the networks. The pilot has been out since August, seems if it was questions, he would have been fired and Edimax support did not have any major problem with the driver beta for me. I had to run commands for the visible card.

    Not sure if this is a gap in the Bootcamp drivers as I lost it scrolling and keyboard Windows functions or the beta for the WiFi card driver is at fault.

    Device Manager sees the adapter, shows in the adapters in the Panel, just no networks are detected.

    Can what version of the drivers for Bootcamp I use with an Early 2009 Mac Pro Quad to work with Windows 10? I saw some "hacks" on the boards, especially for the Macbook Pro. Curious to know if anyone has found a combination of driver that works with this model or as.

    Can you check if WiFi issues on Windows using boot camp 10 solves your problem of WiFi?

  • 2009 Mac Pro is plant after the boot Samsung 850 Evo 250 GB drive upgrade

    The system seems to hang mysteriously every two weeks. It restarts every time login screen. I tried to run DiskWarrior 5.0 on the system, but it doesn't seem to help.

    I've been thinking out the disc and its replacement with an OWC (mercury Accelsior E2) or a conventional hard drive. Another option could be upgraded to the latest OS X Server 5.0.3.

    2009 mac Pro

    Mac OS X Server 10.6.8 - stock (no Trim Enabler)

    8-core 2.26 GHz, 6 GB RAM, nVidia GeForce GT 120

    Highpoint RocketRAID 2314

    Interval since the last report of panic: 734359 sec

    Panic since the last report: 1

    Anonymous UUID: E2906FE3-AD37-43A4-9D1C-5D313A9E42B5

    Fri Jan 15 20:55:31 2016

    panic (the appellant 2 cpu 0xffffff7f80cc8b4d): "AppleAHCI: location (0) reused, newFIS = 0xaaef8027: 0x00000000: 0x00000000: 0x00000000, currentFIS = x 0 00358027: 0x403cb6a0: 0x00000000: 0x00000010, PxCl = 0x00000000 PxSact = 0x00000000\n"@/SourceCache/AppleAHCI/AppleAHCI-217.0.5/AppleAHCIPort.cpp:2801.

    Backtrace (2 CPU), Frame: Return address

    0xffffff8087943b00: 0xffffff8000204d15

    0xffffff8087943c00: 0xffffff7f80cc8b4d

    0xffffff8087943c90: 0xffffff800053c225

    0xffffff8087943d00: 0xffffff7f80cc71b9

    0xffffff8087943da0: 0xffffff7f80cbce8d

    0xffffff8087943dd0: 0xffffff7f80cbd29a

    0xffffff8087943e50: 0xffffff7f8117325d

    0xffffff8087943e90: 0xffffff7f811738e9

    0xffffff8087943eb0: 0xffffff7f8117348c

    0xffffff8087943ed0: 0xffffff7f811768f0

    0xffffff8087943f60: 0xffffff8000285b66

    0xffffff8087943fa0: 0xffffff80002c8527

    Extensions of kernel in trace (with dependencies):

    com.apple.iokit.IOAHCIBlockStorage (1.6.4) @0xffffff7f8116e000-> 0xffffff7f81182ff f

    dependency: com.apple.iokit.IOAHCIFamily (2.0.6) @0xffffff7f80cbb000

    dependency: com.apple.iokit.IOStorageFamily (1.6.3) @0xffffff7f80d59000

    com.apple.driver.AppleAHCIPort (2.1.7) @0xffffff7f80cc2000-> 0xffffff7f80cd8fff

    dependency: com.apple.iokit.IOAHCIFamily (2.0.6) @0xffffff7f80cbb000

    dependency: com.apple.iokit.IOPCIFamily (2.6.5) @0xffffff7f8081d000

    com.apple.iokit.IOAHCIFamily (2.0.6) @0xffffff7f80cbb000-> 0xffffff7f80cc1fff

    Corresponding to the current thread BSD process name: kernel_task

    Mac OS version:

    10K 549

    Kernel version:

    10.8.0 Darwin kernel version: kills Jun 7 16:32:41 PDT 2011; root:XNU-1504.15.3~1/RELEASE_X86_64

    Name of system model: MacPro4, 1 (Mac-F221BEC8)

    Availability of the system in nanoseconds: 130647334321206

    discharged kexts:

    com.apple.driver.AppleIntel8254XEthernet 2.1.3b1 (0xffffff7f80f07000 addr, size 0 x 118784) - last unloaded 87066847159

    kexts responsible:

    com Highpoint - tech.kext.HighPointRR 1.1.1

    com.apple.driver.AppleHWSensor 1.9.3d0 - last load 26409548610

    com Apple.nke.PPTP 1.5

    com Apple.nke.L2TP 1.5

    com Apple.filesystems.autofs 2.1.0

    com.apple.driver.AppleTyMCEDriver 1.0.2d2

    com.apple.driver.AGPM 100.12.31

    com.apple.driver.AppleMikeyHIDDriver 1.2.0

    com.apple.driver.AppleUpstreamUserClient 3.5.7

    com.apple.driver.AppleMCCSControl 1.0.20

    com.apple.driver.AppleHDA 2.0.5f14

    com.apple.driver.AppleMikeyDriver 2.0.5f14

    com.apple.driver.AudioAUUC 1.57

    6.3.6 com.apple.GeForce

    com.apple.driver.AppleUSBOpticalMouse 3.7.5

    com.apple.Dont_Steal_Mac_OS_X 7.0.0

    com.apple.driver.AudioIPCDriver 1.1.6

    com.apple.driver.AppleIntelNehalemProfile 11

    com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.0a1

    com.apple.driver.AppleLPC 1.5.1

    com.apple.driver.AppleRAID 4.0.6

    com.apple.iokit.IOAHCIBlockStorage 1.6.4

    com.apple.driver.Oxford_Semi 2.6.1

    com.apple.iokit.SCSITaskUserClient 2.6.8

    com.apple.BootCache 31.1

    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1

    com.apple.driver.AppleFWOHCI 4.7.3

    com.apple.driver.Intel82574L 2.1.8b1

    com.apple.driver.AppleUSBHub 4.2.4

    2.1.7 com.apple.driver.AppleAHCIPort

    com.apple.driver.AppleEFINVRAM 1.4.0

    com.apple.driver.AppleUSBEHCI 4.2.4

    com.apple.driver.AppleUSBUHCI 4.2.0

    com.apple.driver.AppleHPET 1.5

    com.apple.driver.AppleRTC 1.3.1

    com.apple.driver.AppleACPIButtons 1.3.6

    com.apple.driver.AppleSMBIOS 1.7

    com.apple.driver.AppleACPIEC 1.3.6

    com.apple.driver.AppleAPIC 1.4

    com.apple.driver.AppleIntelCPUPowerManagementClient 142.6.0

    com Apple.Security.sandbox 1

    com Apple.Security.Quarantine 0

    com 2.1.14 Apple.NKE.applicationfirewall

    com.apple.driver.AppleIntelCPUPowerManagement 142.6.0

    com Apple.nke.PPP 1.5

    com.apple.driver.AppleProfileReadCounterAction 17

    com.apple.driver.DspFuncLib 2.0.5f14

    com.apple.driver.AppleProfileTimestampAction 10

    com.apple.driver.AppleProfileThreadInfoAction 14

    com.apple.driver.AppleProfileRegisterStateAction 10

    com.apple.driver.AppleProfileKEventAction 10

    com.apple.driver.AppleProfileCallstackAction 20

    com.apple.driver.AppleSMBusController 1.0.10d0

    com Apple.NVIDIA.nv50hal 6.3.6

    6.3.6 com.apple.NVDAResman

    com.apple.iokit.IONDRVSupport 2.2.1

    com.apple.iokit.IOFireWireIP 2.0.3

    com.apple.iokit.IOSurface 74.2

    com.apple.iokit.IOBluetoothSerialManager 2.4.5f3

    com.apple.iokit.IOSerialFamily 10.0.3

    com.apple.iokit.IOAudioFamily 1.8.3fc2

    com.apple.kext.OSvKernDSPLib 1.3

    com.apple.driver.AppleHDAController 2.0.5f14

    com.apple.iokit.IOGraphicsFamily 2.2.1

    com.apple.iokit.IOHDAFamily 2.0.5f14

    com.apple.iokit.AppleProfileFamily 41

    com.apple.driver.AppleSMC 3.1.0d5

    com.apple.driver.IOPlatformPluginFamily 4.7.0a1

    com.apple.driver.AppleSMBusPCI 1.0.10d0

    com.apple.driver.AppleUSBHIDKeyboard 141,5

    com.apple.driver.AppleHIDKeyboard 141,5

    com.apple.iokit.IOUSBHIDDriver 4.2.0

    com.apple.driver.BroadcomUSBBluetoothHCIController 2.4.5f3

    com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f3

    com.apple.iokit.IOBluetoothFamily 2.4.5f3

    com.apple.driver.XsanFilter 402.1

    com.apple.driver.AppleUSBMergeNub 4.2.4

    com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.8

    com.apple.iokit.IOUSBMassStorageClass 2.6.7

    com.apple.driver.AppleUSBComposite 3.9.0

    com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.1.0

    com.apple.iokit.IOFireWireSBP2 4.0.6

    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.8

    com.apple.iokit.IOBDStorageFamily 1.6

    com.apple.iokit.IODVDStorageFamily 1.6

    com.apple.iokit.IOCDStorageFamily 1.6.1

    com.apple.iokit.IOFireWireFamily 4.2.6

    com.apple.iokit.IOSCSIParallelFamily 2.1.1

    com.apple.iokit.IOAHCISerialATAPI 1.2.6

    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.8

    com.apple.iokit.IONetworkingFamily 1.10

    com.apple.iokit.IOUSBUserClient 4.2.4

    com.apple.iokit.IOAHCIFamily 2.0.6

    com.apple.iokit.IOUSBFamily 4.2.4

    com.apple.driver.AppleEFIRuntime 1.4.0

    com.apple.iokit.IOHIDFamily 1.6.6

    com.apple.iokit.IOSMBusFamily 1.1

    com.apple.kext.AppleMatch 1.0.0d1

    com.apple.security.TMSafetyNet 6

    com.apple.driver.DiskImages 289.1

    com.apple.iokit.IOStorageFamily 1.6.3

    com.apple.driver.AppleACPIPlatform 1.3.6

    com.apple.iokit.IOPCIFamily 2.6.5

    com.apple.iokit.IOACPIFamily 1.3.0

    Model: MacPro4, 1, MP41.0081.B07 of BootROM, 8-Quad - Core Intel Xeon processor, 2.26 GHz, 6 GB, MSC 1.39f5

    Graphics card: NVIDIA GeForce GT 120, GeForce GT 120, PCIe, 512 MB NVIDIA

    Memory module: global_name

    Bluetooth: Version 2.4.5f3, 2 service, 12 aircraft, 1 incoming serial ports

    Service network: Ethernet 1, Ethernet, en0

    Service network: Ethernet, Ethernet, 2 in 1

    PCI card: scsi, sppci_scsi_bus, slot-3

    PCI card: NVIDIA GeForce GT 120, sppci_displaycontroller, Slot-1

    Serial ATA Device: HL-DT-ST DVD - RW GH41N

    Serial ATA Device: Samsung 850 EVO 250 GB, GB 232,89 SSD

    Serial ATA Device: WDC 1.82 TB, WD2002FAEX-007BA0

    Serial ATA Device: ST31000528AS, GB 931,51

    Serial ATA Device: ST31000528AS, GB 931,51

    SCSI device: Equipment of SCSI target @ 0

    SCSI device: Equipment of SCSI target @ 16

    USB device: Keyboard Hub, 0x05ac (Apple Inc.), 0 x 1006, 0xfd300000 / 3

    USB device: Apple USB Optical Mouse, 0x05ac (Apple Inc.), 0 x 0307, 0xfd310000 / 5

    USB device: Apple keyboard, 0x05ac (Apple Inc.), 0x024f, 0xfd320000 / 4

    USB device: USB-SATA Bridge, 0x067b (Prolific Technology, Inc.), 0 x 2773, 0xfd100000 / 2

    USB device: CRCA102 * AF1, 0 x 0764 (Cyber Power Systems, Inc.), 0 x 0501, 0x1a200000 / 2

    USB Device: Hub BRCM2046, 0x0a5c (Broadcom Corp.), 0 x 4500, 0x5a100000 / 2

    USB device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0 x 8215, 0x5a110000 / 3

    FireWire devices: built-in_hub, up to 800 Mb/s

    FireWire device: G-DRIVE, HGST, up to 800 Mb/s

    The panic occurred because the queue of the AHCI is truncated. Thus all things SATA are immediately suspect.

    These extensions on the "scene of the crime" are used ordinary ACHI drivers for SATA drive.

    In your added kernel extensions, you have an additional driver for RocketRAID. If possible, you should remove only while debugging this problem. It was not explicitly on the "crime scene", but it may have made changes that caused the instability.

    In addition, readers could be involved in this problem, as a failed drive can spray data in the wrong section of memory, rewrite of things.

  • My late 2009 Mac Mini supports a 2 TB HDD?

    I am planning to install my Samsung 2 TB solid state drive internally, i.e. inside my late 2009 Mac Mini.  Right now he is in an external enclosure and works very well. He really accelerated the performance of my "old" mini  The improvement is dramatic enough.  My Mini has 8 GB of RAM and runs warm, never hot.  I'm afraid that even a disc SSD, which takes place usually cool in the external case, can heat things if installed inside the Mini.  Thanks in advance for your answer.

    -Steve

    Yes provided that the thickness is 9.5 mm or thinner, which should be the case for one SSD.

Maybe you are looking for